[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-43-geba5c0
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-43-geba5c07 |
Date: |
Sun, 21 Jul 2013 12:10:57 +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=eba5c07715f556d3c27b85afb01baa8a189d7849
The branch, stable-2.0 has been updated
via eba5c07715f556d3c27b85afb01baa8a189d7849 (commit)
from d9e7774fda909306ebdaab175684043946b0931b (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 eba5c07715f556d3c27b85afb01baa8a189d7849
Author: Mark H Weaver <address@hidden>
Date: Sun Jul 21 08:09:46 2013 -0400
Fix incorrect rationalize tests.
* test-suite/tests/fractions.test (fractions): Fix rationalize tests.
-----------------------------------------------------------------------
Summary of changes:
test-suite/tests/fractions.test | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test-suite/tests/fractions.test b/test-suite/tests/fractions.test
index 3ee1347..90fad57 100644
--- a/test-suite/tests/fractions.test
+++ b/test-suite/tests/fractions.test
@@ -150,7 +150,7 @@
(testeqv (inexact->exact (exact->inexact 2135445/16777216)) 2135445/16777216)
(testeq (< (- (exact->inexact 10197734562406803221/17452826108659293487)
.584302765576009) .0000001) #t)
- (testeqv (rationalize #e0.76 1/10) 3/4)
+ (testeqv (rationalize #e0.76 1/10) 2/3)
(testeqv (rationalize #e0.723 1/10) 2/3)
(testeqv (rationalize #e0.723 1/100) 5/7)
(testeqv (rationalize #e-0.723 1/100) -5/7)
@@ -351,7 +351,7 @@
(test= (- 0+6i 1/4 0.5 7) -7.75+6.0i)
(testeqv (rationalize #e2.5 1/1000) 5/2)
(testeqv (rationalize 7/3 1/1000) 7/3)
- (testeqv (rationalize #e3.14159265 1/10) 22/7)
+ (testeqv (rationalize #e3.14159265 1/10) 16/5)
(testeqv (numerator (/ 8 -6)) -4)
(testeqv (denominator (/ 8 -6)) 3)
(testeqv (gcd (numerator 7/9) (denominator 7/9)) 1)
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-43-geba5c07,
Mark H Weaver <=