https://issues.apache.org/bugzilla/show_bug.cgi?id=43940

--- Comment #42 from Vincent Hennebert <vhenneb...@gmail.com> ---
(In reply to comment #41)
> My understanding of Double.toString javadoc is that the contract described
> in the javadoc is mandatory for every implementation of the JVM.

I agree with that. Otherwise the format return by toString wouldn't be
described in such details.

However, NaN and Infinity do have to be checked.


> But since I may be wrong, feel free to correct the patch.
> I implemented this feature using Double comparison since I felt it was
> faster than doing another indexOf on the String (I may be wrong again :-) ).
> 
> If you feel strongly for a second check I'll do it.

Vincent

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to