On 21 May 2015 at 17:17, Andrei Alexandrescu via Digitalmars-d
<[email protected]> wrote:
> On 5/21/15 12:13 AM, Walter Bright wrote:
>>
>> On 5/4/2015 7:32 AM, Martin Krejcirik wrote:
>>>
>>> I can't seem to build phobos master on linux, unless I revert pull
>>> #3014 unittests
>>>
>>> DMD v2.067-devel-b9dee9e DEBUG
>>> std/math.d(2702): Error: number '0x1p-1024' is not representable
>>> std/math.d(2705): Error: number '0x1p-1024' is not representable
>>> std/math.d(2708): Error: number '0x1p-1024' is not representable
>>> std/math.d(2713): Error: number '0x1p-128f' is not representable
>>> std/math.d(2716): Error: number '0x1p-128f' is not representable
>>> std/math.d(2719): Error: number '0x1p-128f' is not representable
>>> make: *** [generated/linux/release/32/libphobos2.a] Error 1
>>>
>>> Since it lasts about a month, I wonder if I am the only one having
>>> this problem ?
>>
>>
>> The source is strtold(), part of the C standard library, is returning
>> ERANGE.
>
>
> Thanks. Should we cater to older compilers and disable those unittests, or
> just leave this be? -- Andrei

Joys of having a compiler that represents all floating point numbers,
and performs all CTFE operations natively.  There is at least some
good news in that others don't follow in DMD's footsteps on this
matter.

Reply via email to