esbmc icon indicating copy to clipboard operation
esbmc copied to clipboard

[C++ verification] update isnan OM

Open XLiZHI opened this issue 1 year ago • 1 comments

Follow suggestion in https://github.com/esbmc/esbmc/pull/2008#issuecomment-2318404541

XLiZHI avatar Aug 29 '24 17:08 XLiZHI

I believe we'll also need isnanf and isnanl. That's what the CIMPORT1 macro has been for.

Hi @fbrausse, What I learned was __builtin_isnan, which handles all types. isnanf and isnanl exist for compatibility reasons; compilers other than clang and gcc do not support this built-in function.

XLiZHI avatar Aug 29 '24 22:08 XLiZHI

Thanks for submitting this PR, @XLiZHI.

lucasccordeiro avatar Sep 02 '24 15:09 lucasccordeiro