Thread overview
number is not representable.
Jun 03, 2009
Mike Wey
Jun 03, 2009
Gide Nwawudu
Jun 04, 2009
Mike Wey
June 03, 2009
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
June 03, 2009
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
June 04, 2009
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