[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r23169 - in /fsf/trunk/libc: ChangeLog locale/programs/locarchive.c manual/arith.texi sysdeps/powerpc/fpu/libm-test-ulps



Author: eglibc
Date: Wed May 29 00:02:04 2013
New Revision: 23169

Log:
Import glibc-mainline for 2013-05-29

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/locale/programs/locarchive.c
    fsf/trunk/libc/manual/arith.texi
    fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Wed May 29 00:02:04 2013
@@ -1,3 +1,18 @@
+2013-05-28  Mike Frysinger  <vapier@xxxxxxxxxx>
+
+	* locale/programs/locarchive.c (create_archive): Inlucde fname in
+	error message.
+	(enlarge_archive): Likewise.
+
+2013-05-28  Ben North  <ben@xxxxxxxxxxxxxxxx>
+
+	* manual/arith.texi (frexp): It is the magnitude of the return
+	value which lies in [0.5, 1), not the return value itself.
+
+2013-05-28  Adhemerval Zanella  <azanella@xxxxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
 2013-05-26  Thomas Schwinge  <thomas@xxxxxxxxxxxxxxxx>
 
 	* stdio-common/bug26.c (main): Correct fscanf template.

Modified: fsf/trunk/libc/locale/programs/locarchive.c
==============================================================================
--- fsf/trunk/libc/locale/programs/locarchive.c (original)
+++ fsf/trunk/libc/locale/programs/locarchive.c Wed May 29 00:02:04 2013
@@ -111,7 +111,7 @@
   /* Create a temporary file in the correct directory.  */
   fd = mkstemp (fname);
   if (fd == -1)
-    error (EXIT_FAILURE, errno, _("cannot create temporary file"));
+    error (EXIT_FAILURE, errno, _("cannot create temporary file: %s"), fname);
 
   /* Create the initial content of the archive.  */
   head.magic = AR_MAGIC;
@@ -345,7 +345,7 @@
   /* Create a temporary file in the correct directory.  */
   fd = mkstemp (fname);
   if (fd == -1)
-    error (EXIT_FAILURE, errno, _("cannot create temporary file"));
+    error (EXIT_FAILURE, errno, _("cannot create temporary file: %s"), fname);
 
   /* Copy the existing head information.  */
   newhead = *head;

Modified: fsf/trunk/libc/manual/arith.texi
==============================================================================
--- fsf/trunk/libc/manual/arith.texi (original)
+++ fsf/trunk/libc/manual/arith.texi Wed May 29 00:02:04 2013
@@ -1221,8 +1221,8 @@
 into a normalized fraction and an exponent.
 
 If the argument @var{value} is not zero, the return value is @var{value}
-times a power of two, and is always in the range 1/2 (inclusive) to 1
-(exclusive).  The corresponding exponent is stored in
+times a power of two, and its magnitude is always in the range 1/2
+(inclusive) to 1 (exclusive).  The corresponding exponent is stored in
 @code{*@var{exponent}}; the return value multiplied by 2 raised to this
 exponent equals the original number @var{value}.
 

Modified: fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps (original)
+++ fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps Wed May 29 00:02:04 2013
@@ -5839,6 +5839,18 @@
 Test "expm1 (500.0)":
 double: 1
 idouble: 1
+
+# gamma
+Test "gamma (0.7)":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+Test "gamma (1.2)":
+double: 1
+float: 2
+idouble: 1
+ifloat: 2
 
 # hypot
 Test "hypot (-0.7, -12.4)":
@@ -6170,6 +6182,23 @@
 float: 1
 ifloat: 1
 
+# pow10
+Test "pow10 (-1)":
+double: 1
+idouble: 1
+Test "pow10 (-305)":
+double: 1
+idouble: 1
+Test "pow10 (-36)":
+double: 1
+idouble: 1
+Test "pow10 (3)":
+double: 1
+idouble: 1
+Test "pow10 (36)":
+double: 1
+idouble: 1
+
 # pow_downward
 Test "pow_downward (1.0625, 1.125)":
 ildouble: 1
@@ -7774,6 +7803,10 @@
 ldouble: 1
 
 Function: "gamma":
+double: 1
+float: 2
+idouble: 1
+ifloat: 2
 ildouble: 1
 ldouble: 1
 
@@ -7845,6 +7878,10 @@
 ildouble: 1
 ldouble: 1
 
+Function: "pow10":
+double: 1
+idouble: 1
+
 Function: "pow_downward":
 float: 1
 ifloat: 1

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits