|
Constants 1.0
Constants related to math, environment, unit ocnversion macros.
|
Mathematical constants and precomputed root values. More...
Go to the source code of this file.
Macros | |
| #define | MATH_10_PI 31.41592653589793238462643383279502884 |
| #define | MATH_2_PI 6.28318530717958647692528676655900576 |
| #define | MATH_3_PI 9.42477796076937971538793014983850865 |
| #define | MATH_4_PI 12.56637061435917295385057353311801153 |
| #define | MATH_5_PI 15.70796326794896619231321691639751442 |
| #define | MATH_6_PI 18.84955592153875943077586029967701730 |
| #define | MATH_7_PI 21.99114857512855266923850368295652018 |
| #define | MATH_8_PI 25.13274122871834590770114706623602307 |
| #define | MATH_9_PI 28.27433388230813914616379044951552595 |
| #define | MATH_CUBRT_10 2.154434690031883814498314677621237 |
| #define | MATH_CUBRT_11 2.223980090569315226645130678662098 |
| #define | MATH_CUBRT_12 2.289428485106663746506683310144580 |
| #define | MATH_CUBRT_13 2.351334687720757266049531608587130 |
| #define | MATH_CUBRT_14 2.410142264175229698253133392427116 |
| #define | MATH_CUBRT_15 2.466212074330469850025338018895126 |
| #define | MATH_CUBRT_16 2.519842099789745937243878870503976 |
| #define | MATH_CUBRT_17 2.571281590658235138846521294908598 |
| #define | MATH_CUBRT_18 2.620741394208896402062691777246072 |
| #define | MATH_CUBRT_19 2.668401648721944852127307967748493 |
| #define | MATH_CUBRT_2 1.259921049894873190666544360283296 |
| Precalculated cube root values from 2 to 25. | |
| #define | MATH_CUBRT_20 2.714417616594906323967961725429631 |
| #define | MATH_CUBRT_21 2.758924176381120751955222658580169 |
| #define | MATH_CUBRT_22 2.802039330655386795143613198888488 |
| #define | MATH_CUBRT_23 2.843866979851565446324457298032939 |
| #define | MATH_CUBRT_24 2.884499140614816603545023099286481 |
| #define | MATH_CUBRT_25 2.924017738212866035496517724823206 |
| #define | MATH_CUBRT_3 1.442249570307408301772511549643240 |
| #define | MATH_CUBRT_4 1.587401051968199361397182656219229 |
| #define | MATH_CUBRT_5 1.709975946676697056147986586438491 |
| #define | MATH_CUBRT_6 1.817120592832139669425828287785407 |
| #define | MATH_CUBRT_7 1.912931182772388938317931206256616 |
| #define | MATH_CUBRT_8 2.000000000000000000000000000000000 |
| #define | MATH_CUBRT_9 2.080083823051904090561947668902576 |
| #define | MATH_e 2.71828182845904509079559829842764884 |
| #define | MATH_e_POW_2 7.38905609893065040694182243896648288 |
| #define | MATH_e_POW_3 20.08553692318766792368478490971028805 |
| #define | MATH_e_POW_4 54.59815003314423620395245961844921112 |
| #define | MATH_e_POW_5 148.41315910257659993476408999413251877 |
| #define | MATH_e_POW_MINUS_1 0.36787944117144233402427744294982404 |
| #define | MATH_e_POW_MINUS_2 0.13533528323661270231781372785917483 |
| #define | MATH_e_POW_MINUS_3 0.04978706836786394446248138478949841 |
| #define | MATH_e_POW_MINUS_4 0.01831563888873417866864912184610148 |
| #define | MATH_e_POW_MINUS_5 0.00673794699908546700084510661099557 |
| Precalculated values of e with various exponents. | |
| #define | MATH_PI 3.14159265358979323846264338327950288 |
| #define | MATH_PI_by_10 0.31415926535897932384626433832795028 |
| Precalculated values of pi with various multiples and sub-multiples. | |
| #define | MATH_PI_by_2 1.57079632679489661923132169163975144 |
| #define | MATH_PI_by_3 1.04719755119659774615421446109316762 |
| #define | MATH_PI_by_4 0.78539816339744830961566084581987572 |
| #define | MATH_PI_by_5 0.62831853071795864769252867665590057 |
| #define | MATH_PI_by_6 0.52359877559829887307710723054658381 |
| #define | MATH_PI_by_7 0.44879895051282760549466334046850041 |
| #define | MATH_PI_by_8 0.39269908169872415480783042290993786 |
| #define | MATH_PI_by_9 0.34906585039886591538473815369772254 |
| #define | MATH_SQRT_10 3.162277660168379331998893544432718 |
| #define | MATH_SQRT_11 3.316624790355399849114932736670686 |
| #define | MATH_SQRT_12 3.464101615137754587054892683011744 |
| #define | MATH_SQRT_13 3.605551275463989293119221267470495 |
| #define | MATH_SQRT_14 3.741657386773941385583748732316549 |
| #define | MATH_SQRT_15 3.872983346207416885179265399782399 |
| #define | MATH_SQRT_16 4.000000000000000000000000000000000 |
| #define | MATH_SQRT_17 4.123105625617660549821409855974077 |
| #define | MATH_SQRT_18 4.242640687119285146405066172629094 |
| #define | MATH_SQRT_19 4.358898943540673552236981983859615 |
| #define | MATH_SQRT_2 1.414213562373095048801688724209698 |
| Precalculated square root values from 2 to 25. | |
| #define | MATH_SQRT_20 4.472135954999579392818347337462552 |
| #define | MATH_SQRT_21 4.582575694955840006588047193728008 |
| #define | MATH_SQRT_22 4.690415759823429554565630113544466 |
| #define | MATH_SQRT_23 4.795831523312719541597438064162693 |
| #define | MATH_SQRT_24 4.898979485566356196394568149411782 |
| #define | MATH_SQRT_25 5.000000000000000000000000000000000 |
| #define | MATH_SQRT_3 1.732050807568877293527446341505872 |
| #define | MATH_SQRT_4 2.000000000000000000000000000000000 |
| #define | MATH_SQRT_5 2.236067977499789696409173668731276 |
| #define | MATH_SQRT_6 2.449489742783178098197284074705891 |
| #define | MATH_SQRT_7 2.645751311064590590501615753639260 |
| #define | MATH_SQRT_8 2.828427124746190097603377448419396 |
| #define | MATH_SQRT_9 3.000000000000000000000000000000000 |
| #define | MATH_TAU 6.28318530717958647692528676655900576 |
| Precalculated values tau. | |
Mathematical constants and precomputed root values.
Provides commonly used values of pi, e, square roots, and cube roots.
Definition in file constants_math.h.
| #define MATH_10_PI 31.41592653589793238462643383279502884 |
Definition at line 33 of file constants_math.h.
| #define MATH_2_PI 6.28318530717958647692528676655900576 |
Definition at line 25 of file constants_math.h.
| #define MATH_3_PI 9.42477796076937971538793014983850865 |
Definition at line 26 of file constants_math.h.
| #define MATH_4_PI 12.56637061435917295385057353311801153 |
Definition at line 27 of file constants_math.h.
| #define MATH_5_PI 15.70796326794896619231321691639751442 |
Definition at line 28 of file constants_math.h.
| #define MATH_6_PI 18.84955592153875943077586029967701730 |
Definition at line 29 of file constants_math.h.
| #define MATH_7_PI 21.99114857512855266923850368295652018 |
Definition at line 30 of file constants_math.h.
| #define MATH_8_PI 25.13274122871834590770114706623602307 |
Definition at line 31 of file constants_math.h.
| #define MATH_9_PI 28.27433388230813914616379044951552595 |
Definition at line 32 of file constants_math.h.
| #define MATH_CUBRT_10 2.154434690031883814498314677621237 |
Definition at line 82 of file constants_math.h.
| #define MATH_CUBRT_11 2.223980090569315226645130678662098 |
Definition at line 83 of file constants_math.h.
| #define MATH_CUBRT_12 2.289428485106663746506683310144580 |
Definition at line 84 of file constants_math.h.
| #define MATH_CUBRT_13 2.351334687720757266049531608587130 |
Definition at line 85 of file constants_math.h.
| #define MATH_CUBRT_14 2.410142264175229698253133392427116 |
Definition at line 86 of file constants_math.h.
| #define MATH_CUBRT_15 2.466212074330469850025338018895126 |
Definition at line 87 of file constants_math.h.
| #define MATH_CUBRT_16 2.519842099789745937243878870503976 |
Definition at line 88 of file constants_math.h.
| #define MATH_CUBRT_17 2.571281590658235138846521294908598 |
Definition at line 89 of file constants_math.h.
| #define MATH_CUBRT_18 2.620741394208896402062691777246072 |
Definition at line 90 of file constants_math.h.
| #define MATH_CUBRT_19 2.668401648721944852127307967748493 |
Definition at line 91 of file constants_math.h.
| #define MATH_CUBRT_2 1.259921049894873190666544360283296 |
Precalculated cube root values from 2 to 25.
Definition at line 74 of file constants_math.h.
| #define MATH_CUBRT_20 2.714417616594906323967961725429631 |
Definition at line 92 of file constants_math.h.
| #define MATH_CUBRT_21 2.758924176381120751955222658580169 |
Definition at line 93 of file constants_math.h.
| #define MATH_CUBRT_22 2.802039330655386795143613198888488 |
Definition at line 94 of file constants_math.h.
| #define MATH_CUBRT_23 2.843866979851565446324457298032939 |
Definition at line 95 of file constants_math.h.
| #define MATH_CUBRT_24 2.884499140614816603545023099286481 |
Definition at line 96 of file constants_math.h.
| #define MATH_CUBRT_25 2.924017738212866035496517724823206 |
Definition at line 97 of file constants_math.h.
| #define MATH_CUBRT_3 1.442249570307408301772511549643240 |
Definition at line 75 of file constants_math.h.
| #define MATH_CUBRT_4 1.587401051968199361397182656219229 |
Definition at line 76 of file constants_math.h.
| #define MATH_CUBRT_5 1.709975946676697056147986586438491 |
Definition at line 77 of file constants_math.h.
| #define MATH_CUBRT_6 1.817120592832139669425828287785407 |
Definition at line 78 of file constants_math.h.
| #define MATH_CUBRT_7 1.912931182772388938317931206256616 |
Definition at line 79 of file constants_math.h.
| #define MATH_CUBRT_8 2.000000000000000000000000000000000 |
Definition at line 80 of file constants_math.h.
| #define MATH_CUBRT_9 2.080083823051904090561947668902576 |
Definition at line 81 of file constants_math.h.
| #define MATH_e 2.71828182845904509079559829842764884 |
Definition at line 41 of file constants_math.h.
| #define MATH_e_POW_2 7.38905609893065040694182243896648288 |
Definition at line 42 of file constants_math.h.
| #define MATH_e_POW_3 20.08553692318766792368478490971028805 |
Definition at line 43 of file constants_math.h.
| #define MATH_e_POW_4 54.59815003314423620395245961844921112 |
Definition at line 44 of file constants_math.h.
| #define MATH_e_POW_5 148.41315910257659993476408999413251877 |
Definition at line 45 of file constants_math.h.
| #define MATH_e_POW_MINUS_1 0.36787944117144233402427744294982404 |
Definition at line 40 of file constants_math.h.
| #define MATH_e_POW_MINUS_2 0.13533528323661270231781372785917483 |
Definition at line 39 of file constants_math.h.
| #define MATH_e_POW_MINUS_3 0.04978706836786394446248138478949841 |
Definition at line 38 of file constants_math.h.
| #define MATH_e_POW_MINUS_4 0.01831563888873417866864912184610148 |
Definition at line 37 of file constants_math.h.
| #define MATH_e_POW_MINUS_5 0.00673794699908546700084510661099557 |
Precalculated values of e with various exponents.
Definition at line 36 of file constants_math.h.
| #define MATH_PI 3.14159265358979323846264338327950288 |
Definition at line 24 of file constants_math.h.
| #define MATH_PI_by_10 0.31415926535897932384626433832795028 |
Precalculated values of pi with various multiples and sub-multiples.
Definition at line 15 of file constants_math.h.
| #define MATH_PI_by_2 1.57079632679489661923132169163975144 |
Definition at line 23 of file constants_math.h.
| #define MATH_PI_by_3 1.04719755119659774615421446109316762 |
Definition at line 22 of file constants_math.h.
| #define MATH_PI_by_4 0.78539816339744830961566084581987572 |
Definition at line 21 of file constants_math.h.
| #define MATH_PI_by_5 0.62831853071795864769252867665590057 |
Definition at line 20 of file constants_math.h.
| #define MATH_PI_by_6 0.52359877559829887307710723054658381 |
Definition at line 19 of file constants_math.h.
| #define MATH_PI_by_7 0.44879895051282760549466334046850041 |
Definition at line 18 of file constants_math.h.
| #define MATH_PI_by_8 0.39269908169872415480783042290993786 |
Definition at line 17 of file constants_math.h.
| #define MATH_PI_by_9 0.34906585039886591538473815369772254 |
Definition at line 16 of file constants_math.h.
| #define MATH_SQRT_10 3.162277660168379331998893544432718 |
Definition at line 56 of file constants_math.h.
| #define MATH_SQRT_11 3.316624790355399849114932736670686 |
Definition at line 57 of file constants_math.h.
| #define MATH_SQRT_12 3.464101615137754587054892683011744 |
Definition at line 58 of file constants_math.h.
| #define MATH_SQRT_13 3.605551275463989293119221267470495 |
Definition at line 59 of file constants_math.h.
| #define MATH_SQRT_14 3.741657386773941385583748732316549 |
Definition at line 60 of file constants_math.h.
| #define MATH_SQRT_15 3.872983346207416885179265399782399 |
Definition at line 61 of file constants_math.h.
| #define MATH_SQRT_16 4.000000000000000000000000000000000 |
Definition at line 62 of file constants_math.h.
| #define MATH_SQRT_17 4.123105625617660549821409855974077 |
Definition at line 63 of file constants_math.h.
| #define MATH_SQRT_18 4.242640687119285146405066172629094 |
Definition at line 64 of file constants_math.h.
| #define MATH_SQRT_19 4.358898943540673552236981983859615 |
Definition at line 65 of file constants_math.h.
| #define MATH_SQRT_2 1.414213562373095048801688724209698 |
Precalculated square root values from 2 to 25.
Definition at line 48 of file constants_math.h.
| #define MATH_SQRT_20 4.472135954999579392818347337462552 |
Definition at line 66 of file constants_math.h.
| #define MATH_SQRT_21 4.582575694955840006588047193728008 |
Definition at line 67 of file constants_math.h.
| #define MATH_SQRT_22 4.690415759823429554565630113544466 |
Definition at line 68 of file constants_math.h.
| #define MATH_SQRT_23 4.795831523312719541597438064162693 |
Definition at line 69 of file constants_math.h.
| #define MATH_SQRT_24 4.898979485566356196394568149411782 |
Definition at line 70 of file constants_math.h.
| #define MATH_SQRT_25 5.000000000000000000000000000000000 |
Definition at line 71 of file constants_math.h.
| #define MATH_SQRT_3 1.732050807568877293527446341505872 |
Definition at line 49 of file constants_math.h.
| #define MATH_SQRT_4 2.000000000000000000000000000000000 |
Definition at line 50 of file constants_math.h.
| #define MATH_SQRT_5 2.236067977499789696409173668731276 |
Definition at line 51 of file constants_math.h.
| #define MATH_SQRT_6 2.449489742783178098197284074705891 |
Definition at line 52 of file constants_math.h.
| #define MATH_SQRT_7 2.645751311064590590501615753639260 |
Definition at line 53 of file constants_math.h.
| #define MATH_SQRT_8 2.828427124746190097603377448419396 |
Definition at line 54 of file constants_math.h.
| #define MATH_SQRT_9 3.000000000000000000000000000000000 |
Definition at line 55 of file constants_math.h.
| #define MATH_TAU 6.28318530717958647692528676655900576 |
Precalculated values tau.
Definition at line 12 of file constants_math.h.