Re: Make the VM Lua-version-agnostic and modularize

  • From: Duncan Cross <duncan.cross@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 24 Sep 2015 17:54:05 +0100

On Thu, Sep 24, 2015 at 5:39 PM, Soni L. <fakedme+lj@xxxxxxxxx> wrote:

TValues can fit doubles. Surely they CAN fit int64s as well.

That might not be as logical as you assume - don't forget that LuaJIT
uses the NaN-tagging trick to store doubles and other types of value
in the same-sized space:

http://lua-users.org/lists/lua-l/2008-02/msg00093.html

-Duncan

Other related posts: