D
Dave Johansen
I was wondering if anyone could shed some light on why the min()
function from std::numeric_limits for floating point types is defined
as the positive number closest to 0 instead of the most negative
number like it is for integers. I did some Googling on the internet
and in this group and couldn't find anything that explained why the
decision was made for this to be the case.
Thanks,
Dave
function from std::numeric_limits for floating point types is defined
as the positive number closest to 0 instead of the most negative
number like it is for integers. I did some Googling on the internet
and in this group and couldn't find anything that explained why the
decision was made for this to be the case.
Thanks,
Dave