[PATCH] Recent libm additions

Steve Kargl sgk at troutmask.apl.washington.edu
Sun Jul 15 18:38:55 UTC 2018


On Sun, Jul 15, 2018 at 10:44:28AM -0700, Matthew Macy wrote:
> 
> In the bug report you cite, Chris Lattner states: "This is actually an
> unspecified feature of C99 (whether it supports the _Imaginary type).
> It is desirable to support this, but not a regression.
> 

Chris Lattner is wrong when the use of I in an express
gives the wrong answer.  He can claim Annex F and G are
non-normative, but a wrong answer is still wrong.

Go read msun/src/math_private.h.  FreeBSD clearly does 
not use I in libm code, because it has consequences for
floating point numerical code.

-- 
Steve


More information about the freebsd-current mailing list