diff options
author | Dalibor Topic <robilad@yahoo.com> | 2006-11-28 22:00:23 +0000 |
---|---|---|
committer | Dalibor Topic <robilad@yahoo.com> | 2006-11-28 22:00:23 +0000 |
commit | 9dca1e22bf86129a8adc4e021ee7c760b9f1773b (patch) | |
tree | 2b6e8bc7a2961b2b8f66ed9fee68a6daaa17b08e /mkinstalldirs | |
parent | f653b9742c6d2de88d5eb1ffbe439f51a7a82fae (diff) | |
download | classpath-generics-merge-20061128.tar.gz |
Fix for printing Double.MIN_VALUE and Float.MIN_VALUEgenerics-merge-20061128
2006-11-28 Dalibor Topic <robilad@kaffe.org>
* 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.
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions