lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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