math, bigly

hh hh at hyperhh.de
Wed Aug 9 05:36:30 EDT 2017


> Mark wrote:
> but I'm annoyed that the IDE doesn't give me an overflow warning if I try
> to perform an operation on a number that's bigger than 0xFFFFFFFF.
> Instead, it just happily trims it down to an unsigned integer and proceeds
> to give me a wrong result.

Hey Mark.
Don't complain because *you* are easily able to work around your
"not-reading-the-dictionary" ;-))

From the baseconvert entry of the dictionary:
baseConvert(number, originalBase, destinationBase)
The number must be an integer between zero and 4,294,967,295 (2^32 - 1).



More information about the use-livecode mailing list