do not use INFINITY (or NAN while at it..) macro
With MSVC werror bails out, that generates warning C4756: overflow in constant arithmetic because aparently there is #define _HUGE_ENUF 1e+300 /* _HUGE_ENUF*_HUGE_ENUF must overflow */ #define INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF)) /* causes warning C4756: overflow in constant arithmetic (by design) */ Great stuff.. Change-Id: Id85e3cac6ea24858654ced617c7e06c62f78374d
Showing
Please
register
or
sign in
to comment