From: "Eugene M. Zheganin" <eug...@zhegan.in>
To: Peter Jeremy <peter...@acm.org>
Cc: freebsd-gn...@FreeBSD.org
Subject: Re: amd64/144448: sin() broken in libm on amd64
Date: Thu, 04 Mar 2010 11:38:40 +0500
Hi.
On 04.03.2010 03:39, Peter Jeremy wrote:
> I agree they are different but why do you think the i386 result is valid?
> Between imperfect rounding of trig functions and throwing away high
> bits (when intermediate results are outside +/-pi), after iterating
> 20 times, your result is not much better than noise in either case.
>
>
Okay, after some explanations received from my colleagues I realized I
was wrong with this pr.
Sorry for your time and thank you.
Eugene.
The amd64 implementation of sin() should produce very accurate
results subject to the limitation described above. The i386
implementation is optimized and may produce less accurate
results, particularly for inputs > 2^64 or so.