Bug#442568: glibc: floor() is giving incorrect results on alpha architecture

2007-11-16 Thread Aurelien Jarno
reassign 442568 linux-2.6 severity 442568 important merge 411813 442568 thanks On Sun, Sep 16, 2007 at 11:23:01AM -0400, Kamaraju Kusumanchi wrote: Package: glibc Severity: normal Consider the following code $cat double_comparison.c #include assert.h #include float.h #include math.h

Bug#442568: glibc: floor() is giving incorrect results on alpha architecture

2007-10-27 Thread Craig Prescott
Here's how my old EV45 runs your test code with math_emu loaded: imladris:~# ./floortest DBL_MANT_DIG = 53 9007199254740991.00 9007199254740991.00 And here is without: imladris:~# rmmod math_emu imladris:~# ./floortest DBL_MANT_DIG = 53 9007199254740991.00 0.00 floortest:

Bug#442568: glibc: floor() is giving incorrect results on alpha architecture

2007-10-06 Thread Alexander Kotelnikov
The following message is a courtesy copy of an article that has been posted to gmane.linux.debian.ports.alpha as well. Hi. 0:14 pts/10 [EMAIL PROTECTED]:/tmp 5 cat dblc.c #include assert.h #include float.h #include math.h #include stdio.h int main() { double x; printf(%s%d\n, DBL_MANT_DIG

Bug#442568: glibc: floor() is giving incorrect results on alpha architecture

2007-10-06 Thread Alexander Kotelnikov
Hi. 0:14 pts/10 [EMAIL PROTECTED]:/tmp 5 cat dblc.c #include assert.h #include float.h #include math.h #include stdio.h int main() { double x; printf(%s%d\n, DBL_MANT_DIG = , DBL_MANT_DIG); x = ldexp (1.0, DBL_MANT_DIG) - 1.0; printf(%lf %lf\n, x, floor(x)); assert(x == floor(x));

Bug#442568: glibc: floor() is giving incorrect results on alpha architecture

2007-09-16 Thread Kamaraju Kusumanchi
Package: glibc Severity: normal Consider the following code $cat double_comparison.c #include assert.h #include float.h #include math.h #include stdio.h int main() { double x; printf(%s%d\n, DBL_MANT_DIG = , DBL_MANT_DIG); x = ldexp (1.0, DBL_MANT_DIG) - 1.0; printf(%lf %lf\n, x,