[cfp-interest 3565] Re: C23 possible defect: output bounds of imprecise math functions
Fred J. Tydeman
tydeman at tybor.com
Fri Aug 15 19:03:05 PDT 2025
On Fri, 15 Aug 2025 15:34:46 -0700 Jim Thomas wrote:
>
>Description
>2 The asin functions compute the principal value of the arc sine of x, which is in the interval [/2, +/2] radians. A domain error occurs for arguments not in the interval [1, +1]. A range error occurs if nonzero x is too close to zero.
>Returns
>3 The asin functions return the principal value of arcsin x.
>
How about adding: "(before rounding)" after either "interval" or "radians"?
---
Fred J. Tydeman Tydeman Consulting
tydeman at tybor.com Testing, numerics, programming
+1 (702) 608-6093 Vice-chair of INCITS/C (ANSI "C")
Sample C17+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
More information about the cfp-interest
mailing list