[Israel.pm] perl arithmetic

Yuval Kogman lists at woobling.org
Sun Apr 18 08:21:17 PDT 2004


On Sun, Apr 18, 2004 at 17:10:40 +0300, Yuval Yaari wrote:
> > perl -le 'print int 100*4.56'
> 455
> 
> > perl -v
> 
> This is perl, v5.8.2 built for i686-linux
> [...]
> 
> What version are you using?

This is perl, v5.8.3 built for ppc-darwin-thread-multi

Home cooked, ofcourse. The vendor default yields:

[eris:~] nothingmuch% perl5.8.1 -e 'print int 100*4.56, "\n"'
456

This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
(with 1 registered patch, see perl -V for more detail)


My gentoo died recently, and i haven't had the time to fix it, so i
can't tell you what 5.8.2 built for powerpc-linux-unknown-gnu will say.

However, I did get some scsi disks in the mail today, two very old boxen
may go back to service now.

-- 
 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me tips over a cow: neeyah!!!!!!!!!!!!!!!!!!!!!!



More information about the Perl mailing list