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

Function flt2int_rd

Source/astcenc_mathlib.h:341–344  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

339 * @return The rounded value.
340 */
341static inline int flt2int_rd(float v)
342{
343 return static_cast<int>(v);
344}
345
346/**
347 * @brief SP float bit-interpreted as an integer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected