libm: Disable float-equal diagnostics

I choose to believe these authors knew what they were doing.
crypto-aes
Jeff Epler 3 years ago committed by Jeff Epler
parent 1b33cd11fc
commit 41e71485af
  1. 1
      lib/libm/erf_lgamma.c
  2. 2
      lib/libm/log1pf.c

@ -24,6 +24,7 @@
*/
#include "fdlibm.h"
#pragma GCC diagnostic ignored "-Wfloat-equal"
#define __ieee754_logf logf

@ -18,6 +18,8 @@
#include "libm.h"
#pragma GCC diagnostic ignored "-Wfloat-equal"
static const float
ln2_hi = 6.9313812256e-01, /* 0x3f317180 */
ln2_lo = 9.0580006145e-06, /* 0x3717f7d1 */

Loading…
Cancel
Save