summaryrefslogtreecommitdiffstats
path: root/vec_float_avx.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_float_avx.h')
-rw-r--r--vec_float_avx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vec_float_avx.h b/vec_float_avx.h
index 08cdb08..ae6ab40 100644
--- a/vec_float_avx.h
+++ b/vec_float_avx.h
@@ -569,7 +569,7 @@ namespace vecmathlib {
realvec atanh() const { return MF::vml_atanh(*this); }
realvec ceil() const { return _mm256_ceil_ps(v); }
realvec copysign(realvec y) const { return MF::vml_copysign(*this, y); }
- realvec cos() const { return MF::vml_cos(*this); }
+ realvec cos() const { return MF::vml_cos_chebyshev_single(*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); }
@@ -610,7 +610,7 @@ namespace vecmathlib {
}
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(*this); }
+ realvec sin() const { return MF::vml_sin_chebyshev_single(*this); }
realvec sinh() const { return MF::vml_sinh(*this); }
realvec sqrt() const { return _mm256_sqrt_ps(v); }
realvec tan() const { return MF::vml_tan(*this); }
OpenPOWER on IntegriCloud