Hi guys, i have a problems doing the operation add with numbers of 64 bits the following code return a incorrect value:
this code should be return a window with the value fefefefeabababab, but return fefefefeababa800 any idea? asked 27 Nov '13, 06:24 Javier Aguinaga edited 27 Nov '13, 06:34 |
One Answer:
Lua stores all numbers (internally) as floats (by default double-precision floating point numbers). So you can't do 64-bit math very well in Lua. For some more details see this email on the wireshark-users mailing list. answered 27 Nov '13, 11:25 JeffMorriss ♦ |
thanks, i'll see the links