about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/dla.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-29 06:56:04 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-29 06:56:04 +0530
commit085ec079e37b0013b421c97b467c6b8ea36a1289 (patch)
tree9a1c10530befa9e1e2358a425d9857d693ae7463 /sysdeps/ieee754/dbl-64/dla.h
parentc93c5dec54a64563ce85b511053bd22161085d77 (diff)
downloadglibc-085ec079e37b0013b421c97b467c6b8ea36a1289.tar.gz
glibc-085ec079e37b0013b421c97b467c6b8ea36a1289.tar.xz
glibc-085ec079e37b0013b421c97b467c6b8ea36a1289.zip
Demystify the magic number 134217729.0
The number 134217729.0 gets used in various places in e_pow.c but
there is no explanation of what that number is.  Add that explanation.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/dla.h')
-rw-r--r--sysdeps/ieee754/dbl-64/dla.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/dla.h b/sysdeps/ieee754/dbl-64/dla.h
index c92fcfe348..3feb3d4503 100644
--- a/sysdeps/ieee754/dbl-64/dla.h
+++ b/sysdeps/ieee754/dbl-64/dla.h
@@ -1,7 +1,7 @@
 /*
  * IBM Accurate Mathematical Library
  * Written by International Business Machines Corp.
- * Copyright (C) 2001, 2011 Free Software Foundation, Inc.
+ * Copyright (C) 2001-2012 Free Software Foundation, Inc.
  *
  * 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
@@ -34,7 +34,8 @@
 /* IEEE double.                                                        */
 /***********************************************************************/
 
-/* CN = 1+2**27 = '41a0000002000000' IEEE double format */
+/* CN = 1+2**27 = '41a0000002000000' IEEE double format.  Use it to split a
+   double for better accuracy.  */
 #define  CN   134217729.0