mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
48cb54d1b2
fmin and fmax do not handle NaNs correctly. Also, the comparison operator for floating-point numbers may raise FE_INVALID if one of the arguments is NaN. Both functions, however, are not subject to any of the error conditions specified by the error handling for related floating-point operators and functions. Change-Id: Ic6bb65f18568066dba3c739a2df06f5fc3131a80