libm/e_exp.c: fix gcc warning on 32 bit:

src/libm/e_exp.c:105: warning: integer constant is too large for 'long' type
This commit is contained in:
Ozkan Sezer 2024-10-10 18:23:20 +03:00
parent ac6b9e2d19
commit 7ff819141d

View File

@ -102,7 +102,7 @@ union {
Uint64 u64;
double d;
} inf_union = {
0x7ff0000000000000 /* Binary representation of a 64-bit infinite double (sign=0, exponent=2047, mantissa=0) */
SDL_UINT64_C(0x7ff0000000000000) /* Binary representation of a 64-bit infinite double (sign=0, exponent=2047, mantissa=0) */
};
double __ieee754_exp(double x) /* default IEEE double exp */