Issue with modulo operation on 32 bit ARM platform

  • From: Gopinadh Garlapati <gopinadh.garlapati@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 4 Jan 2019 02:15:20 -0800

Hi,

I am facing an issue with modulo operation in ARM32 platform. The result is
always 0. I am running 32 bit luajit on 64 bit platform.

Coral-mewlc#luajit
LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2017 Mike Pall. http://luajit.org/
JIT: ON ARMv7 VFPv3 fold cse dce fwd dse narrow loop abc sink fuse
*> print (10%3)*
*0*



Can anybody please help on what is happening here?

Thanks,
Gopinadh.

Other related posts: