NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
arithmetic.hpp
Go to the documentation of this file.
1#pragma once
2#include <types.h>
4
5namespace nw4r {
6namespace math {
7
9float FrSqrt(float x);
10
12inline float FSqrt(float x) {
13 return (x <= 0) ? 0.0f : x * FrSqrt(x);
14}
15
16} // namespace math
17} // namespace nw4r
float FSqrt(float x)
Computes the square root of the given value.
float FrSqrt(float x)
Computes the inverse square root of the given value.