Re: [eigen] Householder.h: ::min() and operator<=

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Dear Rasmus Larsen,

Am 08.09.2016 um 18:16 schrieb Rasmus Larsen:
For floating point types, min() is the smallest normalized value (1.175494e-38 for float), while epsilon() is the smallest value such that 1+epsilon() > 1 (1.192093e-07 for float).

oh sure, I didn't think too much, maybe I shouldn't work in summer.
But still, it's not not a good idea to mess with std::numeric_limits with user defined types.
At least one should define all members.

Best regards,
Peter



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/