On 11 Feb 02, Ember Normand ([EMAIL PROTECTED]) wrote:
> I'm very interested to hear what else the perl porters list will say,
> because it looks like the only way to get the error is the original example.
> 
>       ($num1 % 1000) * 16777216;
> 
> ie:   (var_any_number % literal_numerical_constant ) *
> literal_integer_constant
> 
> Any changes at all yield the correct answer.  I thought maybe it had
> something to do with multiplying integers or forcing integers, but after
> reading all the mail and running some tests, I'm also convinced this is a
> bug.  A very curious bug.  What I found really strange is that if you do the
> exact same equation, but break it into 2 steps, you get 2 different answers.
> 
> I don't read the perl porters list.  If anyone hears of a resolution for
> this issue, I hope you post it to this list.  
> 
> Thanks,
> Ember

I've just tried your code on linux (perl 5.6.1 built for i386-linux),
and it shows the same bug.

-- 
Stephen Patterson http://www.lexx.uklinux.net/
[EMAIL PROTECTED] (remove spam to reply)
ICBM address 54-22-0N 0-28-0W  Linux Counter No: 142831 
GPG Public key: 252B8B37 available on public keyservers.

Attachment: msg10747/pgp00000.pgp
Description: PGP signature

Reply via email to