diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-12-02 18:29:31 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-12-02 18:29:31 -0500 |
commit | 8f470967080fbff980f77d9dcd9656e9a152abf9 (patch) | |
tree | 18308f2f38856890d46a3d4cfba089cd85e1bbd7 /test.cc | |
parent | 0aa7fb6b2708787219c46337266c2c28f1186971 (diff) | |
download | vecmathlib-8f470967080fbff980f77d9dcd9656e9a152abf9.zip vecmathlib-8f470967080fbff980f77d9dcd9656e9a152abf9.tar.gz |
Support more SSE and AVX vector types
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -40,7 +40,7 @@ struct vecmathlib_test { // Test each function with this many random values - static int const imax = 100000; + static int const imax = 10000; // Require that 3/4 of the digits are correct static real_t constexpr accuracy = pow(realvec_t::epsilon(), R(0.75)); @@ -380,7 +380,11 @@ int main(int argc, char** argv) cout << "Testing math functions:\n"; vecmathlib_test<realvec<float,1>>::test(); + vecmathlib_test<realvec<float,4>>::test(); + vecmathlib_test<realvec<float,8>>::test(); + vecmathlib_test<realvec<double,1>>::test(); + vecmathlib_test<realvec<double,2>>::test(); vecmathlib_test<realvec<double,4>>::test(); cout << "\n"; |