Wireshark-bugs: [Wireshark-bugs] [Bug 9162] Lua numbers are double-precision floating-point valu
Date: Sat, 01 Feb 2014 04:46:37 +0000

changed bug 9162

What Removed Added
CC   hadrielk@yahoo.com

Comment # 5 on bug 9162 from
This is now an old bug and closed as not a bug, but just to be clear - Lua
should NOT "halt" simply because it reached a 64-bit integer limit.  Nor does
it appear to have done that in this case.  The script itself was bogus, and
using a Userdata instead of a number.  Lua does indeed only treat numbers using
doubles, and thus loses precision when the number exceeds ~53 bits or so.  But
it can keep counting up to very huge numbers - just not by steps of 1. 
Obviously for protocol purposes we need real 64-bit numbers as well.


You are receiving this mail because:
  • You are watching all bug changes.