[oct-scm] [oct-git]OCT: A portable Lisp implementation for quad-double precision floats branch master updated. 9d3daf46c3e396941c8eb43209a45c0105217840

Raymond Toy rtoy at common-lisp.net
Thu Mar 22 01:58:07 UTC 2012


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 "OCT:  A portable Lisp implementation for quad-double precision floats".

The branch, master has been updated
       via  9d3daf46c3e396941c8eb43209a45c0105217840 (commit)
      from  0d5870201359817c679921a2d740fdd1697469b2 (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 9d3daf46c3e396941c8eb43209a45c0105217840
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Wed Mar 21 18:58:02 2012 -0700

    Add a few tests for exp-integral-e.  More needed.

diff --git a/rt-tests.lisp b/rt-tests.lisp
index 33b2444..9426c98 100644
--- a/rt-tests.lisp
+++ b/rt-tests.lisp
@@ -1363,3 +1363,36 @@
       (check-accuracy 212 s true))
   nil)
 
+(rt:deftest expintegral-e.1d
+    (let* ((z 1d0)
+	   (e (exp-integral-e 0 z))
+	   (true (/ (exp (- z)) z)))
+      (check-accuracy 53 e true))
+  nil)
+
+(rt:deftest expintegral-e.1q
+    (let* ((z #q1)
+	   (e (exp-integral-e 0 z))
+	   (true (/ (exp (- z)) z)))
+      (check-accuracy 212 e true))
+  nil)
+
+(rt:deftest expintegral-e.2d
+    (let* ((z 15d0)
+	   (e (exp-integral-e 0 z))
+	   (true (/ (exp (- z)) z)))
+      (check-accuracy 53 e true))
+  nil)
+
+(rt:deftest expintegral-e.2q
+    (let* ((z #q15)
+	   (e (exp-integral-e 0 z))
+	   (true (/ (exp (- z)) z)))
+      (check-accuracy 212 e true))
+  nil)
+
+(rt:deftest expintegral-e.3d
+    (let* ((e (exp-integral-e 2 1d0))
+	   (true 0.14849550677592204791835999d0))
+      (check-accuracy 47.5 e true))
+  nil)
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 rt-tests.lisp |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
OCT:  A portable Lisp implementation for quad-double precision floats




More information about the oct-cvs mailing list