Re:Why nobody talks about Lua
by derefr on Thursday February 11, 2010 @09:17PM
(#1119525)
If the processor doesn't have an FPU, there's not much of an extra disadvantage to compiling with int32s and then making reals just another data structure, implemented in terms of ints, with a library to manipulate them.
[ Parent
| on HN ]
You'd lose the syntax for real literals, though.
And although you're technically true, the lack of a library implementing reals as userdata let me guess that few people have found this approach practical. Unless I missed it?
I guess people just use the LNUM patch.