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

Stdout(real.max) crashing -- bug?

Moderators: kris

Posted: 01/08/09 21:18:19 Modified: 01/08/09 21:57:06

EDIT: Whooops, a similar post has been made already in "Floats/Doubles will not print".

Hi! My first post brings possibly a bug ... Sorry about that. =) The following snippet:

import tango.io.Stdout;
void main()
{
        Stdout(real.max);
}

gives me:

tango.core.Exception.IllegalArgumentException: Float.pow10 :: exponent too large

I'm using XP and the latest official tangobos.

There are no responses to display.