Extend the generic psin_float code to handle cosine and make SSE and AVX use it (-> this adds pcos for AVX)

This commit is contained in:
Gael Guennebaud
2018-11-30 11:26:30 +01:00
parent e19ece822d
commit b477d60bc6
4 changed files with 41 additions and 105 deletions

View File

@@ -63,7 +63,7 @@ template<> struct packet_traits<float> : default_packet_traits
HasDiv = 1,
HasSin = EIGEN_FAST_MATH,
HasCos = 0,
HasCos = EIGEN_FAST_MATH,
HasLog = 1,
HasExp = 1,
HasSqrt = 1,