Yes, sounds better to have an explicit check for this rather than rely on std::min to consume the NAN.
'clamp' for example does not consume NAN, and it results in NAN if it has such argument.
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
