[Cfp-interest 1297] N2321

Fred J. Tydeman tydeman at tybor.com
Sun Apr 28 01:11:58 PDT 2019


On Mon, 22 Apr 2019 10:08:28 -0700 Jim Thomas wrote:
>
>> N2321<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2321.htm> 2018/12/10 Tydeman, Nextafter/nexttoward/nextup/nextdown
>
>A patch for double-double. Why is this definition preferable? With this definition of nextup etc., how does one determine the actual next-up value? This is important for testing monotonicity, for example.
>

The proposed definition makes the next* functions be consistent on all implementations.
But, as you point out, that might not be useful w.r.t.  monotonicity.

If left alone, how does one get the next normalized number for double-double?


---
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