Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Float.truncate crashes on some inputs

Moderators: kris

Posted: 07/17/08 12:52:39

If Float.truncate is given 1.0 (or 0.0, 2.0, etc) as input, it crashes with this message:

tango.core.Exception.ArrayBoundsException?@tango/text/convert/Float.d(403): Array index out of bounds

Author Message

Posted: 07/18/08 21:20:53

thanks, I'll take a look