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

Function flt_rd

Source/astcenc_mathlib.h:316–319  ·  view source on GitHub ↗

* @brief SP float round-down. * * @param v The value to round. * * @return The rounded value. */

Source from the content-addressed store, hash-verified

314 * @return The rounded value.
315 */
316static inline float flt_rd(float v)
317{
318 return std::floor(v);
319}
320
321/**
322 * @brief SP float round-to-nearest and convert to integer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected