summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-03-21 23:12:54 +0100
committerKevin Ryde <user42@zip.com.au>2002-03-21 23:12:54 +0100
commit76d7133b1a125ac83d5a3756092c25038268e9c4 (patch)
treee4cc0f7b0fa030a58925078046e3182c48eb8293 /demos
parent650fca9a00dba5e21444b0493dc9a5a4f2be69a0 (diff)
downloadgmp-76d7133b1a125ac83d5a3756092c25038268e9c4.tar.gz
Enable tan and log10 tests from:
* demos/expr/exprfr.c: More mpfr functions, corrections to agm, cos, sin, rename log2 constant to loge2 to make room for log2 function. * demos/expr/t-expr.c: More tests.
Diffstat (limited to 'demos')
-rw-r--r--demos/expr/t-expr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/expr/t-expr.c b/demos/expr/t-expr.c
index 4cde9e66a..4cfb0bee7 100644
--- a/demos/expr/t-expr.c
+++ b/demos/expr/t-expr.c
@@ -319,9 +319,9 @@ const struct data_t data_r[] = {
{ 0, "inf_p(log10(0))", "1" },
{ 0, "log10(1)", "0" },
-/* { 0, "log10(10)", "1" }, */
-/* { 0, "log10(100)", "2" }, */
-/* { 0, "log10(1000)", "3" }, */
+ { 0, "log10(10)", "1" },
+ { 0, "log10(100)", "2" },
+ { 0, "log10(1000)", "3" },
{ 0, "log1p(0)", "0" },
@@ -352,10 +352,10 @@ const struct data_t data_r[] = {
{ 0, "tan(0)", "0" },
{ 0, "tan(pi/4)", "~1" },
-/* { 0, "tan(3*pi/4)", "~-1" }, */
+ { 0, "tan(3*pi/4)", "~-1" },
{ 0, "tan(pi)", "~0" },
{ 0, "tan(5*pi/4)", "~1" },
-/* { 0, "tan(7*pi/4)", "~-1" }, */
+ { 0, "tan(7*pi/4)", "~-1" },
{ 0, "tan(0)", "0" },
};