LuaJIT 64-bit integer numbers

  • From: Александр Киранов <xhaskx@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx, mike-1411@xxxxxxxxxx
  • Date: Wed, 17 Dec 2014 15:07:05 +0300

Hi all!

I need to work with 64-bit integers in LuaJIT scripts, with using double in
LUA_NUMBER I get rounding errors.
Is there a way to change numbers type from double to long double (gcc
compiler) in LuaJIT?
Or there is a better solution?

Thanks!

---
С уважением,
Киранов Александр

Other related posts: