develooper 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:
Ed Allen Smith
Date:
October 6, 2003 11:17
Subject:
Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5
Message ID:
mid+200310061817.h96IHcam850485@dogberry.rutgers.edu

This is technically with patchlevel 21401 5.9.0. I note that there are more
failures when using -Dusemorebits (as in, including both -Duselongdouble and
-Duse64bitint). The pattern of the failures for 'pow.t' is rather
consistently that the value resulting is just _slightly_ off (more off the
larger the values being dealt with, which makes sense); it shows up at lower
numbers when using 64-bit-ints. I would think this was just a matter of the
pow.t tests needing to have an epsilon greater than 0, but the Math::BigInt
stuff indicates otherwise (this is from the first machine, with just
-Duselongdouble; -Dusemorebits gives the same results for Math::BigInt):

# Test 2140 got: '1' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1177)
#      Expected: '2'
# Test 2146 got: '2' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1180)
#      Expected: '3'
# Test 151 got: '2' (../lib/Math/BigInt/t/bigintc.t at line 205)
#     Expected: '3'
#  ../lib/Math/BigInt/t/bigintc.t line 205 is: ok (${$C->_str($C->_root($x,$n))},'3');
# Test 2080 got: '2' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1147)
#      Expected: '3'
# Test 2140 got: '1' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1177)
#      Expected: '2'
# Test 2146 got: '2' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1180)
#      Expected: '3'
# Test 2080 got: '2' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1147)
#      Expected: '3'
# Test 2140 got: '1' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1177)
#      Expected: '2'
# Test 2146 got: '2' (../lib/Math/BigInt/t//bigintpm.inc at line 194 fail #1180)
#      Expected: '3'

Tels says that this is probably because BigInt uses pow internally. Tels,
are the above failures all with _root?

2 270 MHZ IP30 Processors
CPU: MIPS R12000 Processor Chip Revision: 2.3
FPU: MIPS R12010 Floating Point Chip Revision: 0.0
uname -R: 6.5.20m

irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble -Dusethreads -Duseithreads
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble -Dusethreads -Duseithreads -A append:ccflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C -woff 1047' -A append:cppflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C'
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble -DCAST_INLINE
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble -DCAST_INLINE -Dusethreads -Duseithreads
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble -DCAST_INLINE -Dusethreads -Duseithreads -A append:ccflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C -woff 1047' -A append:cppflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C'
    t/op/pow.............................FAILED at test 225
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

t/op/pow.............................FAILED at test 225

# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../t/op/pow.t                                236    3   1.27%  225 233 235


irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits -Dusethreads -Duseithreads
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits -Dusethreads -Duseithreads -A append:ccflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C -woff 1047' -A append:cppflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C'
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits -DCAST_INLINE
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits -DCAST_INLINE -Dusethreads -Duseithreads
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits -DCAST_INLINE -Dusethreads -Duseithreads -A append:ccflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C -woff 1047' -A append:cppflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C'
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duse64bitall -Duselongdouble
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duse64bitall -Duselongdouble -Dusethreads -Duseithreads
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duse64bitall -Duselongdouble -Dusethreads -Duseithreads -A append:ccflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C -woff 1047' -A append:cppflags=' -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_SGIAPI -D_POSIX1C'
    t/op/pow.............................FAILED at test 244
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

t/op/pow.............................FAILED at test 244

# Failed at ../t/op/pow.t line 69
#      got '-243'
# expected '-243' (within '0')
# -243 - -243 = -1.577721810442023610823457130566e-30
# Failed at ../t/op/pow.t line 69
#      got '-19683'
# expected '-19683' (within '0')
# -19683 - -19683 = -2.019483917365790221854025127124e-28
# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../t/op/pow.t                                268    5   1.87%  244 248 257 265
                                                               267
CPU: MIPS R5000 Processor Chip Revision: 2.1
FPU: MIPS R5000 Floating Point Coprocessor Revision: 1.0
1 200 MHZ IP32 Processor
uname -R: 6.5.20m

irix         stdio/perlio     -Duseperlio -Duselongdouble
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble
irix         stdio/perlio     -Duseperlio -Duselongdouble -A define:optimize='-O3 -OPT:space=OFF:Olimit=0'
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble -A define:optimize='-O3 -OPT:space=OFF:Olimit=0'
    t/op/pow.............................FAILED at test 225
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../t/op/pow.t                                236    3   1.27%  225 233 235

# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19


irix         stdio/perlio     -Duseperlio -Dusemorebits
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits
    t/op/pow.............................FAILED at test 244
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../t/op/pow.t                                268    5   1.87%  244 248 257 265
                                                               267

# Failed at ../t/op/pow.t line 69
#      got '-243'
# expected '-243' (within '0')
# -243 - -243 = -1.577721810442023610823457130566e-30
# Failed at ../t/op/pow.t line 69
#      got '-19683'
# expected '-19683' (within '0')
# -19683 - -19683 = -2.019483917365790221854025127124e-28
# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19


irix         stdio            -Duseperlio -Dusemorebits -A define:optimize='-O3 -OPT:space=OFF:Olimit=0'
    t/op/pow.............................FAILED at test 244
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../t/op/pow.t                                268    5   1.87%  244 248 257 265
                                                               267
# Failed at ../t/op/pow.t line 69
#      got '-243'
# expected '-243' (within '0')
# -243 - -243 = -1.577721810442023610823457130566e-30
# Failed at ../t/op/pow.t line 69
#      got '-19683'
# expected '-19683' (within '0')
# -19683 - -19683 = -2.019483917365790221854025127124e-28
# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19

CPU: MIPS R5000 Processor Chip Revision: 10.0
FPU: MIPS R5000 Floating Point Coprocessor Revision: 10.0
1 300 MHZ IP32 Processor
uname -R: 6.5.20m

irix         stdio/perlio     -Duseperlio -Duselongdouble
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Duselongdouble
    t/op/pow.............................FAILED at test 225
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../t/op/pow.t                                236    3   1.27%  225 233 235

# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19


irix         stdio/perlio     -Duseperlio -Dusemorebits
irix         stdio/perlio     -DDEBUGGING -Duseperlio -Dusemorebits
    t/op/pow.............................FAILED at test 244
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------------
../t/op/pow.t                                268    5   1.87%  244 248 257 265
                                                               267

# Failed at ../t/op/pow.t line 69
#      got '-243'
# expected '-243' (within '0')
# -243 - -243 = -1.577721810442023610823457130566e-30
# Failed at ../t/op/pow.t line 69
#      got '-19683'
# expected '-19683' (within '0')
# -19683 - -19683 = -2.019483917365790221854025127124e-28
# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19


irix         stdio/perlio     -Dusethreads -Duseithreads -Duseperlio -Duselongdouble
irix         stdio/perlio     -DDEBUGGING -Dusethreads -Duseithreads -Duseperlio -Duselongdouble
    t/op/pow.............................FAILED at test 225
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------------
../t/op/pow.t                                236    3   1.27%  225 233 235

# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19


irix         stdio/perlio     -Dusethreads -Duseithreads -Duseperlio -Dusemorebits
irix         stdio/perlio     -DDEBUGGING -Dusethreads -Duseithreads -Duseperlio -Dusemorebits
    t/op/pow.............................FAILED at test 244
    lib/Math/BigInt/t/bare_mbi...........FAILED at test 2140
    lib/Math/BigInt/t/bigintc............FAILED at test 151
    lib/Math/BigInt/t/bigintpm...........FAILED at test 2080
    lib/Math/BigInt/t/sub_mbi............FAILED at test 2080
../lib/Math/BigInt/t/bigintc.....FAILED test 151

Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------------
../t/op/pow.t                                268    5   1.87%  244 248 257 265
                                                               267
# Failed at ../t/op/pow.t line 69
#      got '-243'
# expected '-243' (within '0')
# -243 - -243 = -1.577721810442023610823457130566e-30
# Failed at ../t/op/pow.t line 69
#      got '-19683'
# expected '-19683' (within '0')
# -19683 - -19683 = -2.019483917365790221854025127124e-28
# Failed at ../t/op/pow.t line 69
#      got '387420489'
# expected '387420489' (within '0')
# 387420489 - 387420489 = -3.30872245021211069948563476828e-24
# Failed at ../t/op/pow.t line 69
#      got '2541865828329'
# expected '2541865828329' (within '0')
# 2541865828329 - 2541865828329 = -2.710505431213761085018632002175e-20
# Failed at ../t/op/pow.t line 69
#      got '22876792454961'
# expected '22876792454961' (within '0')
# 22876792454961 - 22876792454961 = 2.16840434497100886801490560174e-19


-- 
Allen Smith                       http://cesario.rutgers.edu/easmith/
February 1, 2003                               Space Shuttle Columbia
Ad Astra Per Aspera                     To The Stars Through Asperity

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About