libm: Disable float-equal diagnostics

I choose to believe these authors knew what they were doing.
This commit is contained in:
Jeff Epler 2020-02-04 09:41:22 -06:00 committed by Jeff Epler
parent 1b33cd11fc
commit 41e71485af
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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 */