starling-framework
Version:
A fast, productive library for 2D cross-platform development.
29 lines • 694 B
TypeScript
declare namespace starling.utils {
/**
* A Collection of largest/smallest representable numbers.
*
*/
export class Max {
/**
* The largest representable number.
*/
static readonly MAX_VALUE = 1.79e+308;
/**
* The smallest representable number.
*/
static readonly MIN_VALUE = 5e-324;
/**
* The largest representable 32-bit signed integer.
*/
static readonly INT_MAX_VALUE = 2147483647;
/**
* The smallest representable 32-bit signed integer.
*/
static readonly INT_MIN_VALUE = -2147483647;
/**
* he largest representable 32-bit unsigned integer.
*/
static readonly UINT_MAX_VALUE = -1;
}
}
export default starling.utils.Max;