[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Missing feature in 5.3: LUA_FLOAT_NONE for crippled C libraries
- From: Real Time <realtimelogic@...>
- Date: Tue, 20 Oct 2015 10:25:48 -0700
The problem is that many (standard) floating point functions are
used in the C code. These function calls cannot be removed by modifying
the configuration file. Also, many math constants are used, which may
not be defined in the math library being used. The "fixing a few library
calls..." is not that easy and as you say, it's error prone.
IMHO, the best solution would be to have support for "integer only" as an option in the main Lua branch by for example using ifdefs in the C code.