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

[REBOL] Re: Type inconsistency in Arithmetic Functions

From: carl:cybercraft at: 11-Aug-2007 21:47

On Saturday, 11-August-2007 at 11:24:41 Gabriele Santilli wrote,
>2007/8/11, Peter Wood <pwawood-gmail.com>: > >> Does anybody know if this is by design or is simply a consequence of >> the current implementation? > >I guess it would just be much slower to do otherwise.
Could it be that the results are more likely to be really huge and so can only be handled by decimals?
>> 1000000 * 1000000
** Math Error: Math or number overflow ** Near: 1000000 * 1000000
>> 1000000.1 * 1000000.1
== 1000000200000.01 And that's just with multiplication...