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

Will Coleda via RT parrotbug-followup at parrotcode.org
Wed Dec 3 16:16:05 UTC 2008


This ticket is against a very old version of parrot, and 
we can no longer duplicate it as we don't have access to this 
architecture.

If you can duplicate the error against a recent parrot on this 
machine, please open a new ticket at https://trac.parrot.org/.

Closing ticket.

On Thu Jan 11 20:38:35 2007, jhi wrote:
> ---
> 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


-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list