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: Math functions and rounding mode


On Mon, 1 Jan 2018, Patrick McGehearty wrote:

> When the current rounding mode is not FE_TONEAREST on entry to exp(),
> and if we do not change the rounding mode to FE_TONEAREST within exp(),
> then we get more 1 ulp errors according to the make check tests
> of exp(). I suspect users who care enough to try other rounding
> modes than FE_TONEAREST really care about those 1 ulp diffs.

1ulp errors in non-default rounding modes are definitely not a problem.

-- 
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]