www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - number is not representable.

reply Mike Wey <mike-wey example.com> writes:
Recently when i try to compile something that imports std.math or 
tango.math.Math i get the following error:

/home/mike/D/dmd2/phobos/std/math.d(1216): number is not representable

std/math.d line 1216:
     [0x1.fa01712e8f0471ap-1064,  0x1.fa01712e8f0471ap-1,     -1063],

This is with both dmd 1.0 and 2.0 the version doesn't seem to matter.
Does anyone have any idea what could cause this and/or how to fix it?

-- 
Mike Wey
Jun 03 2009
parent reply Gide Nwawudu <gide btinternet.com> writes:
On Wed, 03 Jun 2009 22:56:30 +0200, Mike Wey <mike-wey example.com>
wrote:

Recently when i try to compile something that imports std.math or 
tango.math.Math i get the following error:

/home/mike/D/dmd2/phobos/std/math.d(1216): number is not representable

std/math.d line 1216:
     [0x1.fa01712e8f0471ap-1064,  0x1.fa01712e8f0471ap-1,     -1063],

This is with both dmd 1.0 and 2.0 the version doesn't seem to matter.
Does anyone have any idea what could cause this and/or how to fix it?
I think this has been fixed (in the next release), if you have a test case please update the bug report. http://d.puremagic.com/issues/show_bug.cgi?id=3040 Gide
Jun 03 2009
parent Mike Wey <mike-wey example.com> writes:
Gide Nwawudu wrote:
 On Wed, 03 Jun 2009 22:56:30 +0200, Mike Wey <mike-wey example.com>
 wrote:
 
 Recently when i try to compile something that imports std.math or 
 tango.math.Math i get the following error:

 /home/mike/D/dmd2/phobos/std/math.d(1216): number is not representable

 std/math.d line 1216:
     [0x1.fa01712e8f0471ap-1064,  0x1.fa01712e8f0471ap-1,     -1063],

 This is with both dmd 1.0 and 2.0 the version doesn't seem to matter.
 Does anyone have any idea what could cause this and/or how to fix it?
I think this has been fixed (in the next release), if you have a test case please update the bug report. http://d.puremagic.com/issues/show_bug.cgi?id=3040 Gide
Thanks for pointing me to the bug report, Phobos svn fixes the proble, for me. -- Mike Wey
Jun 04 2009