[Top][All Lists]

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

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-27-g85bdb6

From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-27-g85bdb6a
Date: Wed, 23 Feb 2011 02:04:29 +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, stable-2.0 has been updated
       via  85bdb6ac9c8893b88c8d71a8864f019f1127eba3 (commit)
      from  da0c22b5d307752770eec9ad218f018d55d403d9 (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 85bdb6ac9c8893b88c8d71a8864f019f1127eba3
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]