Re: [PATCH] Recent libm additions

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sun, 15 Jul 2018 11:38:53 -0700
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
Received on Sun Jul 15 2018 - 16:38:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC