testautomation_math.c: use isinf(V) instead of fpclassify(V) == FP_INFINITE
Using fpclassify can cause a linker error. Using isinf instead fixes this.main
parent
cb39740cfd
commit
4ecea42fb0
|
@ -25,7 +25,7 @@
|
||||||
#define EULER M_E
|
#define EULER M_E
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define IS_INFINITY(V) fpclassify(V) == FP_INFINITE
|
#define IS_INFINITY(V) isinf(V)
|
||||||
|
|
||||||
/* Square root of 3 (used in atan2) */
|
/* Square root of 3 (used in atan2) */
|
||||||
#define SQRT3 1.7320508075688771931766041234368458390235900878906250
|
#define SQRT3 1.7320508075688771931766041234368458390235900878906250
|
||||||
|
|
Loading…
Reference in New Issue