[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.6-8-gcc26b9d
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.6-8-gcc26b9d |
Date: |
Sat, 28 Jul 2012 17:09:31 +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".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=cc26b9de1d3c21cb4be49cc61c4b5872b8f607c5
The branch, stable-2.0 has been updated
via cc26b9de1d3c21cb4be49cc61c4b5872b8f607c5 (commit)
from 880e114b9d06bb488b27a3af1d1fdefcc1f464bd (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 cc26b9de1d3c21cb4be49cc61c4b5872b8f607c5
Author: Mark H Weaver <address@hidden>
Date: Sat Jul 28 13:07:38 2012 -0400
Add tests for 'exp' and 'expt' that should produce complex NaNs
* test-suite/tests/numbers.test (exp, expt): Add tests that should
produce complex NaNs, but apparently don't on all systems.
-----------------------------------------------------------------------
Summary of changes:
test-suite/tests/numbers.test | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/test-suite/tests/numbers.test b/test-suite/tests/numbers.test
index a6697c9..35fe707 100644
--- a/test-suite/tests/numbers.test
+++ b/test-suite/tests/numbers.test
@@ -332,7 +332,16 @@
(eqv-loosely? 1.0 (exp 0+6.28318i)))
(pass-if "exp(2-pi*i) = -e^2"
- (eqv-loosely? (- const-e^2) (exp 2.0-3.14159i))))
+ (eqv-loosely? (- const-e^2) (exp 2.0-3.14159i)))
+
+ (pass-if "exp(+inf.0i) = nan.0+nan.0i"
+ (complex-nan? (exp +inf.0i)))
+ (pass-if "exp(+nan.0i) = nan.0+nan.0i"
+ (complex-nan? (exp +nan.0i)))
+ (pass-if "exp(inf.0+inf.0i) = nan.0+nan.0i"
+ (complex-nan? (exp +inf.0+inf.0i)))
+ (pass-if "exp(inf.0-inf.0i) = nan.0+nan.0i"
+ (complex-nan? (exp +inf.0-inf.0i))))
;;;
;;; odd?
@@ -4021,6 +4030,7 @@
(pass-if (real-nan? (expt 0 -1.0)))
(pass-if (real-nan? (expt 0.0 -1)))
(pass-if (real-nan? (expt 0.0 -1.0)))
+ (pass-if (complex-nan? (expt 0.0 -1.0+1.0i)))
(pass-if (eqv? 0 (expt 0 3)))
(pass-if (= 0 (expt 0 4.0)))
(pass-if (eqv? 0.0 (expt 0.0 5)))
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.6-8-gcc26b9d,
Mark H Weaver <=