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

Function fabs

Source/astcenc_mathlib.h:141–144  ·  view source on GitHub ↗

* @brief SP float absolute value. * * @param v The value to make absolute. * * @return The absolute value. */

Source from the content-addressed store, hash-verified

139 * @return The absolute value.
140 */
141static inline float fabs(float v)
142{
143 return std::fabs(v);
144}
145
146/**
147 * @brief Test if a float value is a nan.

Callers 1

EXRGetWavelengthsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected