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
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:
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
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));
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,
5 matches
Mail list logo