1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

When the LUA floating point model is INT64, we don't need to do the

overflow dance. This avoids compile errors on latter-day gcc compilers
as well as simplifies the generated code.

Reviewed by: kevans@
This commit is contained in:
Warner Losh 2018-08-14 18:45:20 +00:00
parent 07d397d746
commit 243ff7d88b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337808

View File

@ -41,7 +41,7 @@
** float without rounding. Used in comparisons. Left undefined if
** all integers fit in a float precisely.
*/
#if !defined(l_intfitsf)
#if !defined(l_intfitsf) && LUA_FLOAT_TYPE != LUA_FLOAT_INT64
/* number of bits in the mantissa of a float */
#define NBM (l_mathlim(MANT_DIG))