Difference between revisions of "Namespace Guide math"
From MINR.ORG WIKI
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Namespace Documentation|Return to namespace list]] | ||
+ | |||
= math = | = math = | ||
'''Status: STABLE (safe to use)''' | '''Status: STABLE (safe to use)''' | ||
Line 18: | Line 20: | ||
</div></div> | </div></div> | ||
<div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | ||
− | ==== Random (5) ==== | + | ==== Random Number Generation (5) ==== |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
'''Type-Bounded''' | '''Type-Bounded''' |
Latest revision as of 20:44, 30 April 2020
Contents
math[edit]
Status: STABLE (safe to use)
Functions[edit]
Function Categories[edit]
Exponentiation (2)[edit]
- Double pow(Double base, Double exponent)
- Double sqrt(Double value)
Rounding/Mapping (3)[edit]
- Double abs(Double value)
- Int floor(Double x)
- Int ceil(Double x)
Random Number Generation (5)[edit]
Type-Bounded
- Int randomInt()
- Long randomLong()
- Float randomFloat()
- Double randomDouble()
User-Bounded
- Double random(Double min, Double max)
Trigonometry (14)[edit]
Conversions
- Double deg(Double x)
- Double rad(Double x)
Basic Functions (Degrees)
- Double sin(Double x)
- Double cos(Double x)
- Double tan(Double x)
Inverse Functions (Degrees)
- Double arcsin(Double x)
- Double arccos(Double x)
- Double arctan(Double x)
Basic Functions (Radians)
- Double radsin(Double x)
- Double radcos(Double x)
- Double radtan(Double x)
Inverse Functions (Radians)
- Double radarcsin(Double x)
- Double radarccos(Double x)
- Double radarctan(Double x)