Skip to content

Commit

Permalink
Remove warning about M_PIf redefinition (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeramsay authored Dec 12, 2023
1 parent a3754a8 commit b25813c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libm-tester/testerutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
#define POSITIVE_INFINITYf ((float)INFINITY)
#define NEGATIVE_INFINITYf (-(float)INFINITY)

#define M_PIf ((float)M_PI)
#ifndef M_PIf
# define M_PIf ((float)M_PI)
#endif

extern int enableFlushToZero;
double flushToZero(double y);
Expand Down

0 comments on commit b25813c

Please sign in to comment.