|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "mathlib.qh"Go to the source code of this file.
Definition at line 53 of file mathlib.qc.
References log().
Definition at line 129 of file mathlib.qc.
References copysign(), fabs(), and pow.
Referenced by solve_cubic_pq().
Definition at line 220 of file mathlib.qc.
References fabs().
Referenced by AdjustAirAccelQW(), cbrt(), erf(), lgamma(), target_speed_calculatevelocity(), and trigger_push_velocity_calculatevelocity().
Definition at line 138 of file mathlib.qc.
References copysign(), exp(), and sqrt().
Referenced by erfc().
Definition at line 144 of file mathlib.qc.
References erf().
Definition at line 70 of file mathlib.qc.
Referenced by anticheat_physics(), bobmodel_ofs(), cosh(), erf(), expm1(), fromDecibelOfSquare(), GenericCommand_rpn(), GetCurrentFov(), ListBox_draw(), nade_darkness_think(), nade_ice_think(), sinh(), tgamma(), and toDecibelOfSquare().
Definition at line 267 of file mathlib.qc.
Definition at line 203 of file mathlib.qc.
References trunc().
Referenced by CSQCModel_Effects_Apply().
Definition at line 3 of file mathlib.qc.
References FP_INFINITE, FP_NAN, FP_NORMAL, FP_ZERO, isinf(), and isnan().
Returns mantissa as .x, exponent as .y.
Definition at line 83 of file mathlib.qc.
Definition at line 13 of file mathlib.qc.
References isinf(), and isnan().
Referenced by isnormal(), and lgamma().
Definition at line 272 of file mathlib.qc.
Definition at line 276 of file mathlib.qc.
Definition at line 17 of file mathlib.qc.
Referenced by fpclassify(), and isfinite().
Definition at line 280 of file mathlib.qc.
Definition at line 284 of file mathlib.qc.
Definition at line 288 of file mathlib.qc.
Definition at line 21 of file mathlib.qc.
Referenced by fpclassify(), is_all_nans(), isfinite(), PlayerJump(), and StrafeHUD_DetermineHudAngle().
Definition at line 36 of file mathlib.qc.
References isfinite().
Definition at line 292 of file mathlib.qc.
Definition at line 95 of file mathlib.qc.
Value in .x, sign in .y.
Definition at line 148 of file mathlib.qc.
References copysign(), fabs(), floor(), isfinite(), lgamma(), log(), M_PI, nan(), sin(), and vector.
Definition at line 103 of file mathlib.qc.
Definition at line 111 of file mathlib.qc.
Definition at line 99 of file mathlib.qc.
References log().
Referenced by buff_Inferno_CalculateTime().
Definition at line 225 of file mathlib.qc.
References sqrt().
Referenced by lgamma(), and nextafter().
Definition at line 229 of file mathlib.qc.
References fabs(), max(), nan(), and nextafter().
Referenced by nextafter(), and nexttoward().
Definition at line 250 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 189 of file mathlib.qc.
References floor().
Referenced by PRECACHE(), and tubasound().
Definition at line 207 of file mathlib.qc.
References rint().
Referenced by func_pendulum_controller_think(), and IsMoveInDirection().
Definition at line 40 of file mathlib.qc.
Referenced by trigger_push_velocity_calculatevelocity().
Definition at line 65 of file mathlib.qc.
References cosh(), and sinh().
Referenced by ctf_CalculatePassVelocity().