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

Floats/Doubles will not print

Moderators: kris

Posted: 12/03/08 15:27:49

It seems (for me anyway) that floats will not print, even the simplest ones. To reproduce this:

module float_test;

import tango.io.Stdout;

void main() {
	Stdout(3.14).newline;
}

For me this gives an output of

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

I suspect that this problem is specific to PowerPC systems. Ticket: #1388

Mac OS 10.5.5 PPC Using DSSS + GDC 0.25

There are no responses to display.