summaryrefslogtreecommitdiffstats
path: root/vec_double_sse2.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-02-14 16:51:53 -0500
committerErik Schnetter <schnetter@gmail.com>2013-02-14 16:51:53 -0500
commit078cc157a086a0f6b47813044ee16e9a842bce28 (patch)
tree70b3886bcbe7b389429d0395d881e36337531cc8 /vec_double_sse2.h
parenta33ff16e361c1ff511e98b658ea4ce41ba9fc14c (diff)
downloadvecmathlib-078cc157a086a0f6b47813044ee16e9a842bce28.zip
vecmathlib-078cc157a086a0f6b47813044ee16e9a842bce28.tar.gz
Fold Chebyshev versions of sin and cos back into the main versions
Diffstat (limited to 'vec_double_sse2.h')
-rw-r--r--vec_double_sse2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vec_double_sse2.h b/vec_double_sse2.h
index 6f9c751..2c7f724 100644
--- a/vec_double_sse2.h
+++ b/vec_double_sse2.h
@@ -509,7 +509,7 @@ namespace vecmathlib {
#endif
}
realvec copysign(realvec y) const { return MF::vml_copysign(*this, y); }
- realvec cos() const { return MF::vml_cos_chebyshev_double(*this); }
+ realvec cos() const { return MF::vml_cos(*this); }
realvec cosh() const { return MF::vml_cosh(*this); }
realvec exp() const { return MF::vml_exp(*this); }
realvec exp10() const { return MF::vml_exp10(*this); }
@@ -553,7 +553,7 @@ namespace vecmathlib {
realvec scalbn(int_t n) const { return MF::vml_scalbn(*this, n); }
realvec scalbn(intvec_t n) const { return MF::vml_scalbn(*this, n); }
boolvec_t signbit() const { return v; }
- realvec sin() const { return MF::vml_sin_chebyshev_double(*this); }
+ realvec sin() const { return MF::vml_sin(*this); }
realvec sinh() const { return MF::vml_sinh(*this); }
realvec sqrt() const { return _mm_sqrt_pd(v); }
realvec tan() const { return MF::vml_tan(*this); }
OpenPOWER on IntegriCloud