Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: fwd from Jim Demmel: More on repeatability



With regard to correctly-rounding sin/cos/tan, Vincent Lef1vre wrote:
> I know, but there isn't much choice if for instance, realmax ~ 2^64.

Well, realmax is much bigger than that: 2¬127 for float, 2¬1023 for double,
and an alarming 2¬16383 for long double.  (Or did I misinterpret?)

A user-definable threshold for backing off to max range seems appropriate
if we go in this direction.

Michel.
---Sent: 2011-08-18 12:27:21 UTC