Bitwise operations and md4digest function

Alex Tweedly alex at tweedly.net
Wed Nov 23 20:09:40 CST 2005


Alex Tweedly wrote:

> It can do some arithmetic above 0xFFFFFFF (7 Fs)
>
> For instance, in 2.5 and 2.2.1 I can do
>
> put format("%x", 2^31 + 5)     ---->   80000005
> (i.e. it has successfully taken an addition into the range above INT32)
>
> or even
>   put format("%08x %u", 2^32 / 2^30, 2^32 / 2^30)   --->  00000004  4
>
> I'd be interested to hear what things you had trouble with ...
>
Not to worry - I found some that fail, so I'm now "happy" to not use it.
Haven't figured out the pattern yet - but have found enough to convince 
me it's not usable without great care - and possible not even *with* care.

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.4/176 - Release Date: 20/11/2005




More information about the use-livecode mailing list