This is the mail archive of the libc-alpha@sourceware.org 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]

Re: [PATCH] Update x86_64 ULPs


On Thu, 2 May 2013, Ondrej Bilka wrote:

> Could we compute ulp directly with mpfr or I am missing some roadblock?

The whole point of ulps baselines is to record the errors produced by the 
actual glibc implementation, compared to an exact expected result (which 
quite likely was computed with MPFR).  Those baselines can, on x86 and 
x86_64, depend on the processor implementation of the x87 instructions for 
transcendental operations (so on whether an Intel or AMD processor is in 
use, for example), as well as, on 32-bit x86, on the details of where the 
compiler uses excess precision.

I've been thinking lately about how to better automate computation of the 
*expected results* with MPFR and MPC, but that won't remove the need for 
ulps values for the glibc implementations used on different platforms.

-- 
Joseph S. Myers
joseph@codesourcery.com


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