mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 04:09:10 +08:00
Use "pdiv" rather than operator/ to support packet types.
This commit is contained in:
parent
d1dd51cb5f
commit
20c4a9118f
@ -590,7 +590,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T generic_ndtri_lt_exp_neg_two(
|
|||||||
|
|
||||||
x = psqrt(pmul(neg_two, plog(b)));
|
x = psqrt(pmul(neg_two, plog(b)));
|
||||||
x0 = psub(x, pdiv(plog(x), x));
|
x0 = psub(x, pdiv(plog(x), x));
|
||||||
z = one / x;
|
z = pdiv(one, x);
|
||||||
x1 = pmul(
|
x1 = pmul(
|
||||||
z, pselect(
|
z, pselect(
|
||||||
pcmp_lt(x, eight),
|
pcmp_lt(x, eight),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user