Closed aaron-skydio closed 1 year ago
The rule of thumb is that if you are adding epsilon to some constant c, you want epsilon to be not less than c * std::numeric_limits<Scalar>::epsilon(), as if it's smaller than that, epsilon won't be large enough to actually change the value of c.
epsilon
c
c * std::numeric_limits<Scalar>::epsilon()
The rule of thumb is that if you are adding
epsilon
to some constantc
, you wantepsilon
to be not less thanc * std::numeric_limits<Scalar>::epsilon()
, as if it's smaller than that, epsilon won't be large enough to actually change the value ofc
.