questions about NetBSD port

Nikolay via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 3 01:25:19 PST 2016


On Wednesday, 3 February 2016 at 07:45:23 UTC, Iain Buclaw wrote:
> On 2 Feb 2016 7:50 pm, "Nikolay via Digitalmars-d" < 
> digitalmars-d at puremagic.com> wrote:
>
> Is NetBSD similar to FreeBSD in that you have 80-bit reals but 
> only the first 53 bits of the mantissa are used?
>
> I don't know how accurate LDC is when it sets up compile time 
> float properties.  But what do you get when:
>
> pragma (msg, real.sizeof);
> pragma (msg, real.mant_dig);
>
> Alternatively, use a C program with printfs for:
>
> sizeof(long double)
> LDBL_MANT_DIG
>
> To make sure both ldc and gcc are agreeable.
>
> Have a look at rt/dmain2.d (look for fldcw) if the problem is 
> because of
> what I describe above.

I suppose it is not similar FreeBSD ( according 
https://www.netbsd.org/changes/changes-7.0.html#x86 )


More information about the Digitalmars-d mailing list