RoshanGerard / aparapi

Automatically exported from code.google.com/p/aparapi
Other
0 stars 0 forks source link

Support for NaN and Inifinity #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When writing the value of a float, it will just write:
f.toString() + "f"

When f == Float.Inifinity the output becomes:
Infinitiyf

Which obviously fails to compile.

The attached patch fixes this.

Original issue reported on code.google.com by kenneth@hexad.dk on 28 Oct 2011 at 10:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by frost.g...@gmail.com on 28 Oct 2011 at 3:11

GoogleCodeExporter commented 9 years ago
Kenneth thanks for this work.  Patch committed (r90) 11/3/2011.

Original comment by frost.g...@gmail.com on 3 Nov 2011 at 3:46