Xonotic
|
Go to the source code of this file.
Macros | |
#define | M_PI 3.14159265358979323846 /* pi */ |
Variables | |
const int | FP_INFINITE = 1 |
const int | FP_NAN = 0 |
const int | FP_NORMAL = 4 |
const int | FP_SUBNORMAL = 3 |
const int | FP_ZERO = 2 |
const float | M_1_PI = 0.31830988618379067154 |
const float | M_2_PI = 0.63661977236758134308 |
const float | M_2_SQRTPI = 1.12837916709551257390 |
const float | M_E = 2.7182818284590452354 |
const float | M_LN10 = 2.30258509299404568402 |
const float | M_LN2 = 0.69314718055994530942 |
const float | M_LOG10E = 0.43429448190325182765 |
const float | M_LOG2E = 1.4426950408889634074 |
const float | M_PI_2 = 1.57079632679489661923 |
const float | M_PI_4 = 0.78539816339744830962 |
const float | M_SQRT1_2 = 0.70710678118654752440 |
const float | M_SQRT2 = 1.41421356237309504880 |
#define M_PI 3.14159265358979323846 /* pi */ |
Definition at line 108 of file mathlib.qh.
Definition at line 56 of file mathlib.qc.
References log().
Definition at line 132 of file mathlib.qc.
References copysign(), fabs(), and pow().
Referenced by solve_cubic_pq().
Definition at line 225 of file mathlib.qc.
References fabs().
Referenced by AdjustAirAccelQW(), cbrt(), erf(), and lgamma().
Definition at line 60 of file mathlib.qc.
References exp().
Referenced by tanh().
Definition at line 141 of file mathlib.qc.
References copysign(), exp(), and sqrt().
Referenced by erfc().
Definition at line 148 of file mathlib.qc.
References erf().
Definition at line 73 of file mathlib.qc.
Referenced by anticheat_physics(), cosh(), erf(), expm1(), fromDecibelOfSquare(), GenericCommand_rpn(), GetCurrentFov(), ListBox_draw(), sinh(), tgamma(), and toDecibelOfSquare().
Definition at line 77 of file mathlib.qc.
References pow().
Definition at line 81 of file mathlib.qc.
References exp().
Definition at line 260 of file mathlib.qc.
References max().
Definition at line 272 of file mathlib.qc.
Definition at line 264 of file mathlib.qc.
References max().
Definition at line 268 of file mathlib.qc.
References min().
Definition at line 208 of file mathlib.qc.
References trunc().
Referenced by CSQCModel_Effects_Apply().
Definition at line 7 of file mathlib.qc.
References FP_INFINITE, FP_NAN, FP_NORMAL, FP_ZERO, isinf(), and isnan().
Definition at line 136 of file mathlib.qc.
References sqrt().
Definition at line 17 of file mathlib.qc.
References isinf(), and isnan().
Referenced by isnormal(), and lgamma().
Definition at line 277 of file mathlib.qc.
Definition at line 281 of file mathlib.qc.
Definition at line 21 of file mathlib.qc.
Referenced by fpclassify(), and isfinite().
Definition at line 285 of file mathlib.qc.
Definition at line 289 of file mathlib.qc.
Definition at line 293 of file mathlib.qc.
Definition at line 25 of file mathlib.qc.
References ftos().
Referenced by fpclassify(), is_all_nans(), and isfinite().
Definition at line 39 of file mathlib.qc.
References isfinite().
Definition at line 297 of file mathlib.qc.
Definition at line 98 of file mathlib.qc.
References pow().
Definition at line 152 of file mathlib.qc.
References copysign(), fabs(), floor(), isfinite(), lgamma(), log(), M_PI, nan(), sin(), v, and vector().
Referenced by lgamma(), and tgamma().
Definition at line 106 of file mathlib.qc.
References log(), and M_LOG10E.
Definition at line 110 of file mathlib.qc.
References log().
Definition at line 118 of file mathlib.qc.
References fabs(), floor(), and log2().
Definition at line 102 of file mathlib.qc.
References log().
Referenced by buff_Inferno_CalculateTime().
Definition at line 122 of file mathlib.qc.
References trunc().
Definition at line 230 of file mathlib.qc.
References sqrt().
Referenced by lgamma(), and nextafter().
Definition at line 199 of file mathlib.qc.
References rint().
Definition at line 234 of file mathlib.qc.
References fabs(), max(), nan(), and nextafter().
Referenced by nextafter(), and nexttoward().
Definition at line 255 of file mathlib.qc.
References nextafter().
Pythonic mod: TODO: %% operator?
1 % 2 == 1 -1 % 2 == 1 1 % -2 == -1 -1 % -2 == -1
Definition at line 194 of file mathlib.qc.
References floor().
Definition at line 212 of file mathlib.qc.
References rint().
Referenced by IsMoveInDirection().
Definition at line 216 of file mathlib.qc.
References rint(), v, and vector().
Definition at line 127 of file mathlib.qc.
References pow().
Definition at line 43 of file mathlib.qc.
Definition at line 64 of file mathlib.qc.
References exp().
Referenced by tanh().
Definition at line 68 of file mathlib.qc.
References cosh(), and sinh().
Referenced by ctf_CalculatePassVelocity().
const int FP_INFINITE = 1 |
Definition at line 9 of file mathlib.qh.
Referenced by fpclassify().
const int FP_NAN = 0 |
Definition at line 8 of file mathlib.qh.
Referenced by fpclassify().
const int FP_NORMAL = 4 |
Definition at line 12 of file mathlib.qh.
Referenced by fpclassify().
const int FP_SUBNORMAL = 3 |
Definition at line 11 of file mathlib.qh.
const int FP_ZERO = 2 |
Definition at line 10 of file mathlib.qh.
Referenced by fpclassify().
const float M_1_PI = 0.31830988618379067154 |
Definition at line 111 of file mathlib.qh.
const float M_2_PI = 0.63661977236758134308 |
Definition at line 112 of file mathlib.qh.
const float M_2_SQRTPI = 1.12837916709551257390 |
Definition at line 113 of file mathlib.qh.
const float M_E = 2.7182818284590452354 |
Definition at line 102 of file mathlib.qh.
Referenced by colormapPaletteColor_(), and exp().
const float M_LN10 = 2.30258509299404568402 |
Definition at line 106 of file mathlib.qh.
const float M_LN2 = 0.69314718055994530942 |
Definition at line 105 of file mathlib.qh.
const float M_LOG10E = 0.43429448190325182765 |
Definition at line 104 of file mathlib.qh.
Referenced by log10().
const float M_LOG2E = 1.4426950408889634074 |
Definition at line 103 of file mathlib.qh.
Referenced by log2().
const float M_PI_2 = 1.57079632679489661923 |
Definition at line 109 of file mathlib.qh.
const float M_PI_4 = 0.78539816339744830962 |
Definition at line 110 of file mathlib.qh.
const float M_SQRT1_2 = 0.70710678118654752440 |
Definition at line 115 of file mathlib.qh.
Referenced by MUTATOR_HOOKFUNCTION().
const float M_SQRT2 = 1.41421356237309504880 |
Definition at line 114 of file mathlib.qh.
Referenced by havocbot_movetogoal().