This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help with float tests


Hi,

Any help with this would be apreciated.
I have problems with make check in test-ldouble

I have compiled glibc from CVS.
Kernel: 2.4.19
Compiler gcc 3.1.1
CPU: AMD K6-2

outputs:

> uname -a
Linux atlas 2.4.19 #1 Tue Aug 6 01:59:40 CEST 2002 i586 unknown

> gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.1.1/specs
Configured with: configure --prefix=/usr --enable-threads=posix --with-gnu-ld --enable-shared --enable-languages=c,c++
Thread model: posix
gcc version 3.1.1

> cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 8
model name      : AMD-K6(tm) 3D processor
stepping        : 0
cpu MHz         : 267.278
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 mmx syscall 3dnow
bogomips        : 532.48



Configure was:
configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-all-warnings --enable-add-ons=linuxthreads

When making "make check":

gcc -nostdlib -nostartfiles -o compile/glibc/comp/math/test-ldouble  -Wl,-dynamic-linker=/lib/ld-linux.so.2    compile/glibc/comp/csu/crt1.o compile/glibc/comp/csu/crti.o `gcc --print-file-name=crtbegin.o` compile/glibc/comp/math/test-ldouble.o compile/glibc/comp/math/libm.so.6  -Wl,-rpath-link=compile/glibc/comp:compile/glibc/comp/math:compile/glibc/comp/elf:compile/glibc/comp/dlfcn:compile/glibc/comp/nss:compile/glibc/comp/nis:compile/glibc/comp/rt:compile/glibc/comp/resolv:compile/glibc/comp/crypt:compile/glibc/comp/linuxthreads compile/glibc/comp/libc.so.6 compile/glibc/comp/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` compile/glibc/comp/csu/crtn.o
GCONV_PATH=compile/glibc/comp/iconvdata LC_ALL=C   compile/glibc/comp/elf/ld-linux.so.2 --library-path compile/glibc/comp:compile/glibc/comp/math:compile/glibc/comp/elf:compile/glibc/comp/dlfcn:compile/glibc/comp/nss:compile/glibc/comp/nis:compile/glibc/comp/rt:compile/glibc/comp/resolv:compile/glibc/comp/crypt:compile/glibc/comp/linuxthreads compile/glibc/comp/math/test-ldouble  > compile/glibc/comp/math/test-ldouble.out
make[2]: *** [compile/glibc/comp/math/test-ldouble.out] Error 1


The output of test-ldouble.out:

testing float (without inline functions)
Failure: Test: Real part of: cacosh (-2 - 3 i) == -1.9833870299165354323470769028940395 + 2.1414491111159960199
416055713254211 i
Result:
 is:         -1.98338806629180908203e+00  -0x1.fbbf5200000000000000p+0
 should be:  -1.98338699340820312500e+00  -0x1.fbbf4000000000000000p+0
 difference:  1.07288360595703125000e-06   0x1.20000000000000000000p-20
 ulp       :  9.0000
 max.ulp   :  4.0000
Maximal error of real part of: cacosh
 is      : 9 ulp
 accepted: 4 ulp
Maximal error of imaginary part of: cacosh
 is      : 0 ulp
 accepted: 4 ulp

Test suite completed:
  2484 test cases plus 2280 tests for exception flags executed.
  2 errors occurred.


Regards,
Carlos Velasco


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]