Difference between revisions of "Namespace Guide math"
From MINR.ORG WIKI
Line 18: | Line 18: | ||
</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''' |
Revision as of 02:14, 30 April 2020
Contents
math
Status: STABLE (safe to use)
Functions
Function Categories
Exponentiation (2)
- Double pow(Double base, Double exponent)
- Double sqrt(Double value)
Rounding/Mapping (3)
- Double abs(Double value)
- Int floor(Double x)
- Int ceil(Double x)
Random Number Generation (5)
Type-Bounded
- Int randomInt()
- Long randomLong()
- Float randomFloat()
- Double randomDouble()
User-Bounded
- Double random(Double min, Double max)
Trigonometry (14)
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)