Enable more generic packet ops for double.

See merge request libeigen/eigen!2050
This commit is contained in:
Rasmus Munk Larsen
2025-10-30 19:14:43 +00:00
parent fb5bb3e98f
commit ce70a507c0
7 changed files with 27 additions and 9 deletions

View File

@@ -184,6 +184,8 @@ struct packet_traits<float> : default_packet_traits {
HasATanh = 1,
HasLog = 1,
HasExp = 1,
HasLog1p = 1,
HasExpm1 = 1,
#ifdef EIGEN_VECTORIZE_VSX
HasCmp = 1,
HasPow = 1,
@@ -3176,9 +3178,11 @@ struct packet_traits<double> : default_packet_traits {
HasErfc = EIGEN_FAST_MATH,
HasATanh = 1,
HasATan = 0,
HasLog = 0,
HasCmp = 1,
HasLog = 1,
HasExp = 1,
HasLog1p = 1,
HasExpm1 = 1,
HasSqrt = 1,
HasCbrt = 1,
#if !EIGEN_COMP_CLANG