mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix various typos
This commit is contained in:
committed by
Antonio Sánchez
parent
3753e6a2b3
commit
4b6036e276
@@ -622,7 +622,7 @@ template<> EIGEN_STRONG_INLINE Packet4i pabs(const Packet4i& a)
|
||||
#ifdef EIGEN_VECTORIZE_SSE4_1
|
||||
template<> EIGEN_STRONG_INLINE Packet4f pround<Packet4f>(const Packet4f& a)
|
||||
{
|
||||
// Unfortunatly _mm_round_ps doesn't have a rounding mode to implement numext::round.
|
||||
// Unfortunately _mm_round_ps doesn't have a rounding mode to implement numext::round.
|
||||
const Packet4f mask = pset1frombits<Packet4f>(0x80000000u);
|
||||
const Packet4f prev0dot5 = pset1frombits<Packet4f>(0x3EFFFFFFu);
|
||||
return _mm_round_ps(padd(por(pand(a, mask), prev0dot5), a), _MM_FROUND_TO_ZERO);
|
||||
|
||||
Reference in New Issue
Block a user