default
tkmath
tkmath
tkmath.Math
getDblEpsilonUnits() : int
- Returns current unit range for relative Double comparison, default is 100
getDblEpsilonZeroRange() : Double
- Returns the epsilon range for relative zero Double comparison, default is 0.000000000001
getFltEpsilonUnits() : int
- Returns current unit range for relative float comparison, default is 10
getFltEpsilonZeroRange() : float
- Returns the epsilon range for relative zero float comparison, default is 0.000001
setDblEpsilonUnits(int u)
- Set the relative unit range for relative Double comparison
setDblEpsilonZeroRange(Double a)
- Set the relative tolerance for Double epsilon range checks
setFltEpsilonUnits(int u)
- Set the relative unit range for relative float comparison
setFltEpsilonZeroRange(float a)
- Set the relative tolerance for float epsilon range checksfloat
M_1_PI
- 1/π=0.31830988618379067154f
float
M_2_PI
- 2/π=0.63661977236758134308f
float
M_2_SQRTPI
- 2/√π=1.12837916709551257390f
float
M_E
- e=2.7182818284590452354f
float
M_LN10
- log(10)=2.30258509299404568402f
float
M_LN2
- log(2)=0.69314718055994530942f
float
M_LOG10E
- log10(e)=0.43429448190325182765f
float
M_LOG2E
- log2(e)=1.4426950408889634074f
float
M_PI
- π=3.14159265358979323846f
float
M_PI_2
- π/2=1.57079632679489661923f
float
M_PI_4
- π/4=0.78539816339744830962f
float
M_SQRT1_2
- 1/√2=0.70710678118654752440f
float
M_SQRT2
- √2=1.41421356237309504880f
Method getDblEpsilonUnits | |||||
Returns current unit range for relative Double comparison, default is 100 | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getDblEpsilonZeroRange | |||||
Returns the epsilon range for relative zero Double comparison, default is 0.000000000001 | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFltEpsilonUnits | |||||
Returns current unit range for relative float comparison, default is 10 | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFltEpsilonZeroRange | |||||
Returns the epsilon range for relative zero float comparison, default is 0.000001 | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method setDblEpsilonUnits | |||||
Set the relative unit range for relative Double comparison | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setDblEpsilonZeroRange | |||||
Set the relative tolerance for Double epsilon range checks | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setFltEpsilonUnits | |||||
Set the relative unit range for relative float comparison | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setFltEpsilonZeroRange | |||||
Set the relative tolerance for float epsilon range checks | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Constant M_1_PI (float) | |
1/π=0.31830988618379067154f | |
Constant M_2_PI (float) | |
2/π=0.63661977236758134308f | |
Constant M_2_SQRTPI (float) | |
2/√π=1.12837916709551257390f | |
Constant M_E (float) | |
e=2.7182818284590452354f | |
Constant M_LN10 (float) | |
log(10)=2.30258509299404568402f | |
Constant M_LN2 (float) | |
log(2)=0.69314718055994530942f | |
Constant M_LOG10E (float) | |
log10(e)=0.43429448190325182765f | |
Constant M_LOG2E (float) | |
log2(e)=1.4426950408889634074f | |
Constant M_PI (float) | |
π=3.14159265358979323846f | |
Constant M_PI_2 (float) | |
π/2=1.57079632679489661923f | |
Constant M_PI_4 (float) | |
π/4=0.78539816339744830962f | |
Constant M_SQRT1_2 (float) | |
1/√2=0.70710678118654752440f | |
Constant M_SQRT2 (float) | |
√2=1.41421356237309504880f | |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54