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

[REBOL] Re: integer! which range?

From: nitsch-lists:netcologne at: 13-Nov-2001 20:31

RE: [REBOL] integer! which range? Hi Yogi,
>> a: to-integer 2 ** 31 - 1
== 2147483647
>> a: to-integer 2 ** 31 - 1 + 1
** Math Error: Math or number overflow
>> type? 999999999999999999999999
== decimal! so if you enter a to large number, it is converted to decimal! . if you multiply two integer!, you are limited. make one 'to-decimal or use 10.0 . -volker [yogi--helimail--de] wrote: