[Cfp-interest 1660] Re: Is atan2pi(+/-inf, +/-inf) exact?

Jim Thomas jaswthomas at sbcglobal.net
Mon Jun 22 17:48:23 PDT 2020


IEEE 754 9.2.1 says these cases signal no exceptions. So exact.

- Jim Thomas

> On Jun 22, 2020, at 9:11 AM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> Should atan2pi( +/-inf, +/-inf ) be exact or inexact?
> The return value is +/-1/4 or +/-3/4 (both are exact in binary and decimal).
> C2X N2478 F.10.1.11 has no mention of inexact, so is exact.
> 
> 
> ---
> 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.
> 
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest




More information about the Cfp-interest mailing list