[Top][All Lists]

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

[Guile-commits] GNU Guile branch, master, updated. release_1-9-15-126-g1

From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-15-126-g18966b8
Date: Wed, 23 Feb 2011 02:06:37 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, master has been updated
       via  18966b8d5ee07b26a3574af5c25f0f27ffaf17f6 (commit)
      from  dd6e37d032515608577f319a18bd9fdcd9da59bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 18966b8d5ee07b26a3574af5c25f0f27ffaf17f6
Author: Mark H Weaver <address@hidden>
Date:   Tue Feb 15 19:29:41 2011 -0500

    Portability fix for new log and log10
    * libguile/numbers.c: Define M_LN2 if it's not already defined.
      Fix error in comment.


Summary of changes:
 libguile/numbers.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/libguile/numbers.c b/libguile/numbers.c
index d0aacb7..b8cfa5d 100644
--- a/libguile/numbers.c
+++ b/libguile/numbers.c
@@ -72,6 +72,9 @@
 #ifndef M_LOG10E
 #define M_LOG10E   0.43429448190325182765
+#ifndef M_LN2
+#define M_LN2     0.69314718055994530942
 #ifndef M_PI
 #define M_PI       3.14159265358979323846
@@ -9399,7 +9402,7 @@ log_of_exact_integer_with_size (SCM n, long size)
     return log_of_shifted_double (scm_to_double (n), 0);
-/* Returns log(n), for exact integer n of integer-length size */
+/* Returns log(n), for exact integer n */
 static SCM
 log_of_exact_integer (SCM n)

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]