Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] 32 bit - dword values

From: ptretter::primary::net at: 22-Dec-2000 23:53

How do we handle 32 bit numbers when trying to convert them. It seems that special precautions must be taken to prevent math overflow errors. Can someone from RT tell us how we should handle these issues. For example if I do a to-hex 5555555555 I get an error: ** Script Error: to-hex expected value argument of type: integer . ** Where: to-hex 5555555555 but to-hex 555555555 works fine This might be greater than a dword but illustrates my point. Anyone ran into this problem before? Paul Tretter