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