OVMS3/OVMS.V3/components/duktape/config/header-snippets/reject_fast_math.h.in

7 lines
234 B
C
Raw Normal View History

/* GCC/clang inaccurate math would break compliance and probably duk_tval,
* so refuse to compile. Relax this if -ffast-math is tested to work.
*/
#if defined(__FAST_MATH__)
#error __FAST_MATH__ defined, refusing to compile
#endif