summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-09-02 09:54:39 -0400
committerErik Schnetter <schnetter@gmail.com>2013-09-02 09:54:39 -0400
commit7a9a8c9292f39ad037e60456e83326b77bbae89d (patch)
tree2f7f7b54662c2c4a0f5bcb426310816e11107767
parentcd962478496509dae33097f5232cc3bbeb05a9e8 (diff)
downloadvecmathlib-7a9a8c9292f39ad037e60456e83326b77bbae89d.zip
vecmathlib-7a9a8c9292f39ad037e60456e83326b77bbae89d.tar.gz
Reduce accuracy requirement for fma
-rw-r--r--test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.cc b/test.cc
index 3f88492..9c98464 100644
--- a/test.cc
+++ b/test.cc
@@ -1274,7 +1274,7 @@ struct vecmathlib_test {
check_real<RV,RV>("fdim", std::fdim, vecmathlib::fdim, x, y, accuracy());
check_real<RV,RV,RV>("fma",
std::fma, vecmathlib::fma,
- x, y, z, R(2.0)*accuracy());
+ x, y, z, R(10.0)*accuracy());
check_real<RV,RV>("fmax", std::fmax, vecmathlib::fmax, x, y, 0.0);
check_real<RV,RV>("fmin", std::fmin, vecmathlib::fmin, x, y, 0.0);
check_real<RV>("frexp0", local_frexp0, local_vfrexp0, x, 0.0);
OpenPOWER on IntegriCloud