You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it would be better not to leak implementation details, I'd suggest that instead of macros you use f16_isnan and f16_isinf functions to match the standard C functions. It might also be nice to have f16_fpclassify and f16_isnormal too.
The text was updated successfully, but these errors were encountered:
In this case I think macros is better this stuff like f16_isinf(x) (((x) & 0x7FFF)==0x7C00) and since there is no C++ style inline functions in C it would rather be better to use macro.
These are useful, please expose them.
Since it would be better not to leak implementation details, I'd suggest that instead of macros you use
f16_isnan
andf16_isinf
functions to match the standard C functions. It might also be nice to havef16_fpclassify
andf16_isnormal
too.The text was updated successfully, but these errors were encountered: