Subject: Re: accuracy of "long double"
To: Neil Booth <email@example.com>
From: None <firstname.lastname@example.org>
Date: 08/29/2007 17:01:52
Selon Neil Booth <email@example.com>:
>> 1. If I understand correctly, <long double> on NetBSD will NOT behave as IEEE
>> 80-bit precision should do. Does it mean that <long double> = <double>, or
>> that the rounding prescriptions of <long double> are not honored?
> Yes, no, yes. :) Rounding for all FP arithmetic is to double precision
> by default.
That's still (partially) unclear. You mean that, if I add two <long double>s and
put the result in a <long double>, I won't get the extra precision I expect in
the result because it will be truncated to (normal) <double> precision ? If yes,
I don't see the point of keeping <long double> different from <double>…
Thanks for your time and the rest of the answer,