[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25974] Float to string conversion
From: |
mark at gcc dot gnu dot org |
Subject: |
[Bug classpath/25974] Float to string conversion |
Date: |
27 Jan 2006 12:09:54 -0000 |
------- Comment #6 from mark at gcc dot gnu dot org 2006-01-27 12:09 -------
(In reply to comment #5)
> Thanks Jeroen, and sorry everyone for the noise - it's hard for a mere user to
> know where the JVM ends and the class library starts!
Don't worry about it, we share most of the bugs and it is good to learn about
cross-project issues. You would be surprized how often a bug in one runtime
also manifests itself in some way in other runtimes.
> As a follow-up, could anyone point me to source code for float-to-string and
> double-to-string conversion in Classpath? Since XPath has its own rules on the
> detail of how this is done, which differ slightly from the Java rules (let
> alone from what IKVM is delivering), I may take this code "in-house" and do my
> own versions.
In GNU Classpath this code goes through the VMDouble class in
vm/reference/java/lang/VMDouble.java. There is a reference implementation for
POSIX/JNI systems of the "native" methods in
native/jni/java-lang/java_lang_VMDouble.c which uses the math library functions
in native/fdlibm.
IKVM has its own implementation of VMDouble (which doesn't use JNI/C).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25974
- [Bug classpath/25974] New: Float to string conversion, mike at saxonica dot com, 2006/01/26
- [Bug classpath/25974] Float to string conversion, pinskia at gcc dot gnu dot org, 2006/01/26
- [Bug classpath/25974] Float to string conversion, pinskia at gcc dot gnu dot org, 2006/01/26
- [Bug classpath/25974] Float to string conversion, tromey at gcc dot gnu dot org, 2006/01/26
- [Bug classpath/25974] Float to string conversion, jeroen at frijters dot net, 2006/01/26
- [Bug classpath/25974] Float to string conversion, mike at saxonica dot com, 2006/01/27
- [Bug classpath/25974] Float to string conversion,
mark at gcc dot gnu dot org <=
- [Bug classpath/25974] Float to string conversion, pinskia at gcc dot gnu dot org, 2006/01/27