mirror of https://github.com/AxioDL/zeus.git
Add M_SQRT1_2F constant
This commit is contained in:
parent
13949b249e
commit
bf13f1f49c
|
@ -21,6 +21,7 @@
|
||||||
#define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
|
#define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
|
||||||
#undef M_SQRT1_2
|
#undef M_SQRT1_2
|
||||||
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
|
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
|
||||||
|
#define M_SQRT1_2F 0.70710678118654752440f /* 1/sqrt(2) */
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
Loading…
Reference in New Issue