[genius] Fri Nov 18 00:53:09 2011 Jiri (George) Lebl <jirka 5z com>
- From: George Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] Fri Nov 18 00:53:09 2011 Jiri (George) Lebl <jirka 5z com>
- Date: Fri, 18 Nov 2011 06:53:33 +0000 (UTC)
commit 0f2ce6b29cfb01cd6192b0a42604bb204e8f735c
Author: Jiri (George) Lebl <jirka 5z com>
Date: Fri Nov 18 00:53:14 2011 -0600
Fri Nov 18 00:53:09 2011 Jiri (George) Lebl <jirka 5z com>
* src/symbolic.c: accept log instead of ln for natural log when doing
derivative when called as a single variable function.
ChangeLog | 5 +++++
src/symbolic.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 53a8729..9748a71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 18 00:53:09 2011 Jiri (George) Lebl <jirka 5z com>
+
+ * src/symbolic.c: accept log instead of ln for natural log when doing
+ derivative when called as a single variable function.
+
Mon Nov 07 00:28:58 2011 Jiri (George) Lebl <jirka 5z com>
* src/funclib.c, help/C/gel-function-list.xml: Add CurrentTime
diff --git a/src/symbolic.c b/src/symbolic.c
index 8903f3c..87bb4e9 100644
--- a/src/symbolic.c
+++ b/src/symbolic.c
@@ -102,6 +102,7 @@ gel_differentiate_func1_expr (GelToken *tok)
/* Better then 1/x, since doing multiple derivatives
on that sucks without simplification */
DERIVATIVE_ENTRY ("ln", "x^-1");
+ DERIVATIVE_ENTRY ("log", "x^-1");
DERIVATIVE_ENTRY ("log2", "log2(e)*x^-1");
DERIVATIVE_ENTRY ("log10", "log10(e)*x^-1");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]