Yes.  Under the hood it relies on the 'isfinite' call. So it will catch
Nan, +inf, and -inf.

       isfinite(x)   returns a non-zero value if
                     (fpclassify(x) != FP_NAN && fpclassify(x) !=
FP_INFINITE)

-- Jeremy

On Fri, Feb 24, 2012 at 2:23 PM, Stephen Parker
<[email protected]>wrote:

> Awesome, does this account for +/-inf as well?
>
>
>   ------------------------------
> *From:* Jeremy Selan <[email protected]>
> *To:* OpenImageIO developers <[email protected]>
> *Sent:* Friday, February 24, 2012 2:11 PM
> *Subject:* [Oiio-dev] Review: maketx: added --fixnan option
>
> https://github.com/OpenImageIO/oiio/pull/235
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
>
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to