Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41256] [tru64] NaNQ failures in t/pmc/complex

8 views
Skip to first unread message

Jarkko Hietaniemi

unread,
Jan 11, 2007, 11:38:35 PM1/11/07
to bugs-bi...@rt.perl.org
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #41256]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41256 >


---
osname= dec_osf
osvers= 5.1a
arch= alpha-dec_osf-thread-multi
cc= cc V6.4-014
---
Flags:
category=core
severity=medium
ack=no
---
Many of the t/pmc/complex tests fail since they make certain
nonportable assumptions about the results of certain floating
point operations.


(dbx) run t/pmc/complex_33.pir

ln(0+0i)
got -inf+nanqi
not -inf+0.000000i
done
(dbx) run t/pmc/complex_35.pir

sqrt(0+0i)
got NaNQ+NaNQi
not 0.000000+0.000000i
done
(dbx) run t/pmc/complex_42.pir

asin(-1+0i)
got NaNQ+NaNQi
not -1.570796-0.000000i

asin(1+0i)
got NaNQ+NaNQi
not 1.570796-0.000000i
done
(dbx) run t/pmc/complex_43.pir

acos(-1+0i)
got NaNQ+NaNQi
not 3.141593-0.000000i

acos(1+0i)
got NaNQ+NaNQi
not 0.000000-0.000000i
done
(dbx) run t/pmc/complex_46.pir

asec(-1+0i)
got NaNQ+NaNQi
not 3.141593-0.000000i

asec(1+0i)
got NaNQ+NaNQi
not 0.000000-0.000000i
done
(dbx) run t/pmc/complex_47.pir

acsc(-1+0i)
got NaNQ+NaNQi
not -1.570796-0.000000i

acsc(1+0i)
got NaNQ+NaNQi
not 1.570796-0.000000i
done

---
Summary of my parrot 0.4.7 (r0) configuration:
configdate='Fri Jan 12 03:51:38 2007'
Platform:
osname=dec_osf, archname=alpha-dec_osf
jitcapable=0, jitarchname=nojit,
jitosname=dec_osf, jitcpuarch=alpha
execcapable=0
perl=/u/vieraat/vieraat/jhi/Perl/Platform/OSF1/bin/perl
Compiler:
cc='cc', ccflags='-std -D_INTRINSICS -fprm d -ieee -I/p/include -DLANGUAGE_C -pthread -D_XOPEN_SOURCE=500',
Linker and Libraries:
ld='ld', ldflags=' -L/p/lib',
cc_ldflags='',
libs='-lm -lutil -lpthread -laio -lrt -lgmp'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -expect_unresolved "*" -O4 -msym -std -L/p/lib',
load_ext='.so', ld_load_flags='-shared -expect_unresolved "*" -O4 -msym -std -L/p/lib'
Types:
iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
ptrsize=8, ptr_alignment=8 byteorder=12345678,
nv=double, numvalsize=8, doublesize=8

---
Environment:
HOME LANG LANGUAGE LC_ALL LC_CTYPE LD_LIBRARY_PATH LOGDIR PATH SHELL

0 new messages