Front page | perl.perl5.porters |
Postings from October 2003
Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5
Thread Previous
|
Thread Next
From:
Tels
Date:
October 7, 2003 11:18
Subject:
Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5
Message ID:
200310072020.02344@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Tuesday 07 October 2003 20:12, Tels wrote:
This is very wierd:
# perl -MPOSIX -le '$a = (81 ** 3) ** (1/3); print join(" ", $a, int ($a),
POSIX::floor($a), sprintf("%f",$a), sprintf ("%.0f",$a))'
81 80 80 81.000000 81
Why is $a sometimes 81, and sometimes 80? Why does int(81) produce 80?
This is with perl v5.8.1, not v5.8.0 as I claimed:
te@null:~/perl/math/Math-BigInt-1.67> perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.20-4gb-athlon, archname=i686-linux
uname='linux null 2.4.20-4gb-athlon #1 wed aug 6 18:27:52 utc 2003 i686
unknown unknown gnulinux '
config_args='-ds -e'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
- -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3 20030226 (prerelease) (SuSE Linux)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Sep 27 2003 20:55:34
@INC:
/usr/local/lib/perl5/5.8.1/i686-linux
/usr/local/lib/perl5/5.8.1
/usr/local/lib/perl5/site_perl/5.8.1/i686-linux
/usr/local/lib/perl5/site_perl/5.8.1
/usr/local/lib/perl5/site_perl
.
Best wishes,
Tels
- --
Signed on Tue Oct 7 20:17:51 2003 with key 0x93B84C15.
Visit my photo gallery at http://bloodgate.com/photos/
PGP key on http://bloodgate.com/tels.asc or per email.
"Wo die Schononen schön wohnen."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
iQEVAwUBP4MD0HcLPEOTuEwVAQGC1wf+OvQvGY27qhV+vrbzkrOA4RA/3EKlUIpa
MXcMjcqQjh91aOoEAkWLKeFlZOVZ7oBmTJcoYz0tGbgWMYPUthYape/Weo95+Rp9
4CbxCcuX12iYK9gsXVxa+vMvRdNa9+Wyyt7Dc1oapWj9+cokIqo/G86eaD/yJ5+M
liEhFXQScv3rz4w4rOZLroMiOXVPd+/BQhZF0XHNMIxV1qx6brLMO7m3pTdg5r1X
/QA9Tt0yNQ3B131/Mr7NpCuCKQLyGAxx6AKae3/22s8iuHt8smWJgqkW/8cxwuvN
EEyZjAX/f5g/YUqwEhTSzTYYWiQi0S8tra6Y4VIZMXKBWvEsBM8Sog==
=2V7I
-----END PGP SIGNATURE-----
Thread Previous
|
Thread Next