* @brief SP float bit-interpreted as an integer. * * @param v The value to bitcast. * * @return The converted value. */
| 358 | * @return The converted value. |
| 359 | */ |
| 360 | static inline int float_as_int(float v) |
| 361 | { |
| 362 | union { int a; float b; } u; |
| 363 | u.b = v; |
| 364 | return u.a; |
| 365 | } |
| 366 | |
| 367 | /** |
| 368 | * @brief Integer bit-interpreted as an SP float. |
no outgoing calls
no test coverage detected