This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag '6.4.beta1' into ticket/15767
- Loading branch information
Showing
107 changed files
with
5,955 additions
and
1,383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Sage version 6.4.beta0, released 2014-08-14 | ||
Sage version 6.4.beta1, released 2014-08-20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=3bf450cfe7244e6f52ecfe602689f4cf792ac9d9 | ||
md5=ff7ba3c70a9a1a332996af18b30bbb42 | ||
cksum=4284066357 | ||
sha1=80f834dff7baffd5306b4269dffe547df264a72a | ||
md5=90e5cd2fef68232a20ac565f8efea235 | ||
cksum=3340757205 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
44 | ||
45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.33.0.p0 | ||
5.33.0.p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
diff --git a/src/limit.lisp b/src/limit.lisp | ||
index 86492cc..a56569a 100644 | ||
--- a/src/limit.lisp | ||
+++ b/src/limit.lisp | ||
@@ -3160,6 +3160,26 @@ ignoring dummy variables and array indices." | ||
omega)) | ||
(cons exp logw))) | ||
|
||
+;;; if log w(x) = h(x), rewrite all subexpressions of the form | ||
+;;; log(f(x)) as log(w^-c f(x)) + c h(x) with c the unique constant | ||
+;;; such that w^-c f(x) is strictly less rapidly varying than w. | ||
+(defun mrv-rewrite-logs (exp wsym logw) | ||
+ (cond ((atom exp) exp) | ||
+ ((and (mlogp exp) | ||
+ (not (freeof wsym exp))) | ||
+ (let* ((f (cadr exp)) | ||
+ (c ($lopow (calculate-series f wsym) | ||
+ wsym))) | ||
+ (m+ (list (car exp) | ||
+ (m* (m^ wsym (m- c)) | ||
+ (mrv-rewrite-logs f wsym logw))) | ||
+ (m* c logw)))) | ||
+ (t | ||
+ (cons (car exp) | ||
+ (mapcar (lambda (e) | ||
+ (mrv-rewrite-logs e wsym logw)) | ||
+ (cdr exp)))))) | ||
+ | ||
;; returns list of two elements: coeff and exponent of leading term of exp, | ||
;; after rewriting exp in term of its MRV set omega. | ||
(defun mrv-leadterm (exp var omega) | ||
@@ -3181,7 +3201,8 @@ ignoring dummy variables and array indices." | ||
lo | ||
coef | ||
((f . logw) (mrv-rewrite exp omega var wsym)) | ||
- (series (calculate-series f wsym))) | ||
+ (series (calculate-series (mrv-rewrite-logs f wsym logw) | ||
+ wsym))) | ||
(setq series (maxima-substitute logw `((%log) ,wsym) series)) | ||
(setq lo ($lopow series wsym)) | ||
(when (or (not ($constantp lo)) | ||
diff --git a/tests/rtest_limit.mac b/tests/rtest_limit.mac | ||
index b255d40..80ec53a 100644 | ||
--- a/tests/rtest_limit.mac | ||
+++ b/tests/rtest_limit.mac | ||
@@ -625,3 +625,8 @@ limit(log(-1/3125*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) + | ||
limit(x^2*exp(-%i*x - x), x, inf); | ||
0; | ||
|
||
+/* bug #2621 gamma limit error */ | ||
+ | ||
+limit(gamma(x+1/2)/(sqrt(x)*gamma(x)), x, inf); | ||
+1; | ||
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sage version information for shell scripts | ||
# This file is auto-generated by the sage-update-version script, do not edit! | ||
SAGE_VERSION='6.4.beta0' | ||
SAGE_RELEASE_DATE='2014-08-14' | ||
SAGE_VERSION='6.4.beta1' | ||
SAGE_RELEASE_DATE='2014-08-20' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.