MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / isnan

Function isnan

Source/astcenc_mathlib.h:153–156  ·  view source on GitHub ↗

* @brief Test if a float value is a nan. * * @param v The value test. * * @return Zero is not a NaN, non-zero otherwise. */

Source from the content-addressed store, hash-verified

151 * @return Zero is not a NaN, non-zero otherwise.
152 */
153static inline bool isnan(float v)
154{
155 return v != v;
156}
157
158/**
159 * @brief Return the minimum of two values.

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68