Scalars

object Scalars(source)

Author

ztellman

Properties

Link copied to clipboard
const val EPSILON: Double = 1.0E-14
Link copied to clipboard
const val EXP_BIAS: Int = 1023
Link copied to clipboard
const val EXP_BIT_MASK: Long = 9218868437227405312
Link copied to clipboard
Link copied to clipboard
const val MAX_EXPONENT: Int = 1023
Link copied to clipboard
const val MIN_EXPONENT: Int
Link copied to clipboard
const val SIGNIFICAND_WIDTH: Int = 53

Functions

Link copied to clipboard
fun angleEquals(t0: Double, t1: Double, epsilon: Double): Boolean
Link copied to clipboard
fun clamp(min: Double, n: Double, max: Double): Double
Link copied to clipboard
fun equals(a: Double, b: Double, epsilon: Double): Boolean
Link copied to clipboard
Link copied to clipboard
fun inside(min: Double, n: Double, max: Double): Boolean
Link copied to clipboard
fun lerp(a: Double, b: Double, t: Double): Double
Link copied to clipboard
fun max(a: Double, b: Double): Double
fun max(a: Double, b: Double, c: Double): Double
Link copied to clipboard
fun min(a: Double, b: Double): Double
fun min(a: Double, b: Double, c: Double): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ulp(d: Double): Double