Gentoo Archives: gentoo-amd64

From: James Cloos <cloos@×××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Possible Math Problem - Request For Verification [Solved]
Date: Sun, 26 Jun 2011 12:05:54
In Reply to: Re: [gentoo-amd64] Possible Math Problem - Request For Verification [Solved] by Frank Peters
>>>>> "FP" == Frank Peters <frank.peters@×××××××.net> writes:
FP> All I need now is for someone to come forward and say that he is using FP> gcc-4.5.2 and has no problem. Then I'll really start to bang my head. Using gcc-4.6.0 (compiled with +graphite), using: -O3 -ggdb3 -march=amdfam10 -ftree-vectorize a number of the cabs(3) and cpow(3) tests returned (0,0) (for each of float and double, and each of c and fortran) instead of the correct results. The sin and cos tests had max errors in the +- 5 ulp range for doubles and the +- 1.5 range for floats. Your obsercation that graphite may be to blame is likely correct. You may be interested in crlibm (correctly rounded lib m): -JimC -- James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6