Patch: Double.parseDouble cannot handle NaN, Infinity or -Infinity

Mark Anderson
Fri Mar 4 16:34:00 GMT 2005

This patch implements handing of NaN, Infinity and -Infinity as agruments to 
parseDouble within

This is my first experience of CNI so I have no idea if this is the correct 
way to handle this. Someone feel free to propse a better solution.


2005-03-04 Mark Anderson <>

	* java/lang/ (parseDouble): Handle NaN, Infinity and -Infinity as
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parseDouble.patch
Type: text/x-diff
Size: 832 bytes
Desc: not available
URL: <>

More information about the Java-patches mailing list