CVSROOT: /sources/classpath Module name: classpath Changes by: Dalibor Topic <robilad> 06/11/28 22:00:24
Modified files: . : ChangeLog native/jni/java-lang: java_lang_VMDouble.c Log message: Fix for printing Double.MIN_VALUE and Float.MIN_VALUE 2006-11-28 Dalibor Topic <[EMAIL PROTECTED]> * native/jni/java-lang/java_lang_VMDouble.c: (parseDoubleFromChars) New function. Factored out from ... (Java_java_lang_VMDouble_parseDouble): Factored out the parsing. (dtoa_toString): New function. Factored out from ... (Java_java_lang_VMDouble_toString) : Factored out the conversion. Changed conversion mode to 2, as modes 0 and 1 don't round as the API spec demands. Invoke conversion function as often as necessary with growing precision until a reversible representation of the double in form of a string is reached. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8876&r2=1.8877 http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/java-lang/java_lang_VMDouble.c?cvsroot=classpath&r1=1.14&r2=1.15