add vectorization of sqrt for float

This commit is contained in:
Gael Guennebaud
2009-03-27 14:41:46 +00:00
parent 3499f6eccd
commit 49fc1e3e84
6 changed files with 29 additions and 12 deletions

View File

@@ -227,6 +227,7 @@ template<typename Scalar> void packetmath_real()
data2[i] = ei_random<Scalar>(0,1e6);
}
CHECK_CWISE1_IF(ei_packet_traits<Scalar>::HasLog, ei_log, ei_plog);
CHECK_CWISE1_IF(ei_packet_traits<Scalar>::HasSqrt, ei_sqrt, ei_psqrt);
}
void test_packetmath()