mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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:
parent
07d397d746
commit
243ff7d88b
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue