summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/exp/testDoubleExp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/exp/testDoubleExp.c')
-rw-r--r--src/elementaryFunctions/exp/testDoubleExp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elementaryFunctions/exp/testDoubleExp.c b/src/elementaryFunctions/exp/testDoubleExp.c
index 200b6235..2daeae06 100644
--- a/src/elementaryFunctions/exp/testDoubleExp.c
+++ b/src/elementaryFunctions/exp/testDoubleExp.c
@@ -433,6 +433,9 @@ void dexpsTest(void) {
out=dexps(in[i]);
assert(( (fabs(out-res[i]))/(fabs(out)) )<1e-15);
}
+
+ assert(( (fabs(exp(3)-20.085536923187671476398))/(exp(3)) )<1e-15);
+
}
void zexpsTest(void) {