Math: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
No edit summary
No edit summary
Line 48: Line 48:


=== static random(min, max) ===
=== static random(min, max) ===
Generates an int, inclusive of min or max.  ie: random(1,3) could return 1, 2, or 3.
=== static random() ===
Generates a float between 0 and 1.


=== static sin ===
=== static sin ===

Revision as of 02:31, 29 December 2018

NOTE: This class is lowercase, ie: 'math'

Public Methods

static abs

static acos

static asin

static atan

static atan2

static ceil

static cos

static cosh

static deg

static exp

static floor

static fmod

static frexp

static ldexp

static log

static log10

static max

static min

static modf

static pow

static rad

static random(max)

static random(min, max)

Generates an int, inclusive of min or max. ie: random(1,3) could return 1, 2, or 3.

static random()

Generates a float between 0 and 1.

static sin

static sinh

static sqrt

static tan

static tanh

Public Variables

static pi

static huge

Largest representatable number