@@ -9,21 +9,22 @@ Math library class.
99| AbsoluteValue | Returns the absolute value from a pass in value. |
1010| ToPositive | Returns a positive value of the pass in value. |
1111| ToNegative | Returns a negative value of the pass in value. |
12- | IsPositive | Check if the value is positive. |
13- | IsNegative | Check if the value is negative. |
14- | ToReverse | Reverse a value, turn negative to positive, turn positive to negative. |
15- | Reciprocal | Reciprocal the value pass in. |
12+ | IsPositive | Return true if the number is positive. |
13+ | IsNegative | Return true if the number is negative. |
14+ | ToReverse | To reverse a value, turn negative to positive, turn positive to negative. |
15+ | Reciprocal | To reciprocal the value pass in. |
1616| Sqr | Square root the value pass in. |
1717| DistanceOfUnitVector | Returns the distacne of the two floats. |
1818| IsOdd | Check if the value is the odd number. |
1919| IsEven | Check if the value is a even number. |
2020| FindMiddleIndex | Returns the center of the array length. |
2121| OverFlowIndex | Returns index that are overflow within the array length. |
2222| ApproachTo | Make value approach to the target value by increment/decrement one. |
23- | IsInfinity | Check if the value is infinity? |
2423| Min | Returns the mininum value. |
2524| Max | Returns the maxinum value. |
26- | IsNaN | Check if the number is invalid. |
25+ | IsInfinity | Return true if the number is infinity. |
26+ | IsNaN | Return true if the number is NaN. |
27+ | IsNaNOrInfinity | Return true if the number is either NaN or infinity. |
2728| LawOfSine | Do law of sin. |
2829| LawOfConsine | Do law of cosine. |
2930| IsPossible | Use to check if something is possible by pasing in the percentage. (0% ~ 100%) |
0 commit comments