[Cfp-interest] FUNCTIONS: Tests of invalid being raised on FP to integer conversions
Fred J. Tydeman
tydeman at tybor.com
Thu Jul 8 11:46:30 PDT 2010
One of you asked for the public tests to check if
invalid is being raised for conversions from an FP
value to an integer object if the FP value is out
of range. This is related to 5. convertToInteger
functions, approach 3.
Here are web URLs:
BFP: http://www.tybor.com/tflt2int.c
DFP: http://www.tybor.com/tdfp2int.c
I am interested in the results you get if you run
those on IBM System z10 (or later) and on IBM
Power 6 (or later). Also, Intel x86_64 systems.
---
Fred J. Tydeman Tydeman Consulting
tydeman at tybor.com Testing, numerics, programming
+1 (775) 358-9748 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