REBOL3 tracker
  0.9.12 beta
Ticket #0000126 User: anonymous

Project:



rss
TypeBug Statustested Date12-Jun-2007 19:08
Version1.0.0 Categoryn/a Submitted bySunanda
PlatformAll Severitytrivial Prioritynone

Summary to integer! -- strange result
Description Give R3 and R2 numbers bigger than they can handle as ints, and they both mishave, but in different ways:

R2 -- converts to a decimal!
>> to integer! "11111111111111111111111"
== 1.11111111111111E+22


R3: sets to zero:
>> to integer! "11111111111111111111111"
== 0
Example code

			

Assigned ton/a Fixed in- Last Update25-Jul-2007 02:48


Comments

Date User Field Action Change
2-Dec-2008 18:50 Admin Ticket Added -