|
Player12
An open source football management simulator
|
Functions | |
| double | log (double x) |
| double | exp (double x) |
| double | cosTwoPi (double turns) |
Elementary functions built from IEEE-754 basic operations only (+, -, *, /, sqrt, frexp, ldexp, floor), which every platform rounds the same way. The C library's log, exp and cos may differ in the last bit between libstdc++/glibc, libc++/Apple and MSVC, which would make seeded draws platform dependent. Accurate to a few units in the last place.
|
private |
cos(2 pi turns) for turns in [0, 1).
|
private |
e to the power x (0 below -745, infinity above 709.78).
|
private |
Natural logarithm of x > 0.