mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 15:54:13 +08:00
Suppressed the warning for missing assignment generators (forgot that in the last submission).
Commented Quake3's fast inverser sqrt in SSE's MathFunction header.
This commit is contained in:
parent
46a9cac7fb
commit
3ea1f97f69
@ -365,6 +365,8 @@ static EIGEN_DONT_INLINE EIGEN_UNUSED Packet4f ei_pcos(Packet4f x)
|
||||
return _mm_xor_ps(y, sign_bit);
|
||||
}
|
||||
|
||||
// This is Quake3's fast inverse square root.
|
||||
// For detail see here: http://www.beyond3d.com/content/articles/8/
|
||||
static EIGEN_UNUSED Packet4f ei_psqrt(Packet4f _x)
|
||||
{
|
||||
Packet4f half = ei_pmul(_x, ei_pset1(.5f));
|
||||
|
@ -5,5 +5,5 @@
|
||||
// 4101 - unreferenced local variable
|
||||
// 4512 - assignment operator could not be generated
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4100 4101 4181 4244 4127 4211 4273 4522 4717 )
|
||||
#pragma warning( disable : 4100 4101 4181 4244 4127 4211 4273 4512 4522 4717 )
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user