[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r22107 - in /fsf/trunk/libc: ChangeLog sysdeps/ieee754/dbl-64/mpa.c
- To: commits@xxxxxxxxxx
- Subject: [Commits] r22107 - in /fsf/trunk/libc: ChangeLog sysdeps/ieee754/dbl-64/mpa.c
- From: eglibc@xxxxxxxxxx
- Date: Tue, 01 Jan 2013 00:01:57 -0000
Author: eglibc
Date: Tue Jan 1 00:01:56 2013
New Revision: 22107
Log:
Import glibc-mainline for 2013-01-01
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Tue Jan 1 00:01:56 2013
@@ -1,3 +1,8 @@
+2012-12-31 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
+ numbers.
+
2012-12-30 Mike Frysinger <vapier@xxxxxxxxxx>
* math/bits/mathcalls.h (modf): Use __nonnull.
Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c Tue Jan 1 00:01:56 2013
@@ -1,7 +1,7 @@
/*
* IBM Accurate Mathematical Library
* written by International Business Machines Corp.
- * Copyright (C) 2001, 2011 Free Software Foundation
+ * Copyright (C) 2001-2012 Free Software Foundation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -247,9 +247,10 @@
if (X[0] == ZERO) {*y = ZERO; return; }
- if (EX> -42) norm(x,y,p);
- else if (EX==-42 && X[1]>=TWO10) norm(x,y,p);
- else denorm(x,y,p);
+ if (__glibc_likely (EX > -42 || (EX == -42 && X[1] >= TWO10)))
+ norm(x,y,p);
+ else
+ denorm(x,y,p);
}
#endif
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits