Re: [Qemu-devel] [PATCH 04/20] softfloat: add pi constants

2011-04-20 Thread Aurelien Jarno
On Tue, Apr 19, 2011 at 12:10:48PM +0100, Peter Maydell wrote: > On 18 April 2011 21:59, Aurelien Jarno wrote: > > +#define float64_pi make_float32(0x400921fb54442d18LL) > > This doesn't look quite right :-) > Good catch, fixed. -- Aurelien Jarno GPG: 1024D/F1BCDB73

Re: [Qemu-devel] [PATCH 04/20] softfloat: add pi constants

2011-04-19 Thread Peter Maydell
On 18 April 2011 21:59, Aurelien Jarno wrote: > +#define float64_pi make_float32(0x400921fb54442d18LL) This doesn't look quite right :-) -- PMM

[Qemu-devel] [PATCH 04/20] softfloat: add pi constants

2011-04-18 Thread Aurelien Jarno
Add a pi constant for float32, float64, floatx80. It will be used by target-i386 and later by the trigonometric functions. Signed-off-by: Aurelien Jarno --- fpu/softfloat.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 90e0c41.