[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Please add macros for maximum and minimum values of lua_Integer & lua_Number
- From: Reuben Thomas <rrt@...>
- Date: Wed, 2 Jan 2008 13:16:04 +0000 (GMT)
It would make it easier to write portable code for Lua if there were maxima
and minima for the number types, say LUA_NUMBER_MAX, LUA_NUMBER_MIN &c. For
a default configured system, one can of course use the limits for the
default types, ptrdiff_t and double respectively, but that's not portable to
systems using non-default types.
--
http://rrt.sc3d.org/
memoir, n. a lie that flatters the author's ego and the reader's intellect