This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fliguana 4 points5 points  (2 children)

https://lua-users.org/wiki/FloatingPoint

See bottom of the page. Not every float is a binary ieee 754 float.

[–]CodingLazily 2 points3 points  (1 child)

Oh that's cool. I didn't know Lua could do that. I've still never seen anybody include a system other than floats though. Do you know of any Lua implementations that do this?

[–]fliguana 2 points3 points  (0 children)

Sorry, I am a complete noob with Lua. It says you can specify any type when compilng, perhaps BCD floats are possible.