Spurious long double accuracy
Spurious long double accuracy
- Subject: Spurious long double accuracy
- From: Tommy Nordgren <email@hidden>
- Date: Sun, 10 Dec 2006 15:46:52 +0100
The predefined compiler macro __LDBL_EPSILON__ is defined to be
4.94066e-324
Recomputing this constant from definition gives the same value.
Now the formal definition for epsilon in respect to floating point
calculation, is the smallest
positive floating point value that when added to 1.0 gives a value
that is not 1.0 with machine precision.
I wonder what is going on here, since both defined and computed
values of this constant
implies a accuracy in floating point calculations with approximately
300 more significant digits than
available in long double format.
----
Kine dies, Kinfolk dies, and thus at last yourself
This I know that never dies, how a dead mans deeds are deemed. --
Elder edda
Tommy Nordgren
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden