[Cfp-interest 1298] Re: Next representable for a double-double

Fred J. Tydeman tydeman at tybor.com
Sun Apr 28 00:53:34 PDT 2019


On Fri, 26 Apr 2019 08:23:22 -0400 Stephen Canon wrote:
>
>This isn't quite right; it skips a value when the sign of lo flips.

I do not have access to a double-double implementation.

If the high part is DBL_MAX, what values are valid for the low part?
  0.0
  DBL_TRUE_MIN
  DBL_MIN
  1.0
  DBL_MAX*DBL_EPSILON/4
  DBL_MAX*DBL_EPSILON/2
  DBL_MAX*DBL_EPSILON
  DBL_MAX


---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list