mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-08 09:49:03 +08:00
Only test pmsub, pnmadd, and pnmsub on signed types.
This commit is contained in:
parent
8f2c6f0aa6
commit
09c0085a57
@ -643,7 +643,7 @@ void packetmath() {
|
||||
CHECK_CWISE1_IF(PacketTraits::HasSqrt, numext::sqrt, internal::psqrt);
|
||||
CHECK_CWISE1_IF(PacketTraits::HasRsqrt, numext::rsqrt, internal::prsqrt);
|
||||
CHECK_CWISE3_IF(true, REF_MADD, internal::pmadd);
|
||||
if (!std::is_same<Scalar, bool>::value) {
|
||||
if (!std::is_same<Scalar, bool>::value && NumTraits<Scalar>::IsSigned)) {
|
||||
CHECK_CWISE3_IF(true, REF_MSUB, internal::pmsub);
|
||||
CHECK_CWISE3_IF(true, REF_NMADD, internal::pnmadd);
|
||||
CHECK_CWISE3_IF(true, REF_NMSUB, internal::pnmsub);
|
||||
|
Loading…
x
Reference in New Issue
Block a user