ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


math

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
math [2019/04/20 19:57] – [Pi and Tau] korshunmath [2019/04/20 19:57] – [e] korshun
Line 50: Line 50:
 ==== Pi and Tau ==== ==== Pi and Tau ====
  
-  * ''#define PI 3.1415926535897932384626433832795;'' +  * ''#define PI 3.1415926535897932384626433832795'' 
-  * ''#define TAU 6.2831853071795864769252867665590;''+  * ''#define TAU 6.2831853071795864769252867665590''
  
 The numbers Pi and [[https://tauday.com/tau-manifesto|Tau]]. The numbers Pi and [[https://tauday.com/tau-manifesto|Tau]].
  
 ==== e ==== ==== e ====
-''fixed MATH_E 2.7182818284590452353602874713526624977572470937;''+''#define MATH_E 2.7182818284590452353602874713526624977572470937''
  
 The number [[wp>E_(mathematical_constant)|e]]. Called ''MATH_E'' to avoid conflicts with variable name ''e''. The number [[wp>E_(mathematical_constant)|e]]. Called ''MATH_E'' to avoid conflicts with variable name ''e''.
math.txt · Last modified: 2019/08/26 21:26 by korshun