mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Comment cleanup v3: trailing ??, informal language, FIXME/TODO colons
libeigen/eigen!2197 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -127,7 +127,7 @@ inline T REF_FREXP(const T& x, T& exp) {
|
||||
exp = static_cast<T>(iexp);
|
||||
|
||||
// The exponent value is unspecified if the input is inf or NaN, but MSVC
|
||||
// seems to set it to 1. We need to set it back to zero for consistency.
|
||||
// sets it to 1. We need to set it back to zero for consistency.
|
||||
if (!(numext::isfinite)(x)) {
|
||||
exp = T(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user