Package org.joml
Class Runtime
- java.lang.Object
-
- org.joml.Runtime
-
public final class Runtime extends java.lang.Object
Internal class to detect features of the runtime.- Author:
- Kai Burjack
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
HAS_doubleToRawLongBits
static boolean
HAS_floatToRawIntBits
static boolean
HAS_Long_rotateLeft
static boolean
HAS_Math_fma
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
doubleToLongBits(double dbl)
static boolean
equals(double a, double b, double delta)
static boolean
equals(float a, float b, float delta)
static int
floatToIntBits(float flt)
static java.lang.String
format(double number, java.text.NumberFormat format)
static java.lang.String
formatNumbers(java.lang.String str)
-
-
-
Method Detail
-
floatToIntBits
public static int floatToIntBits(float flt)
-
doubleToLongBits
public static long doubleToLongBits(double dbl)
-
formatNumbers
public static java.lang.String formatNumbers(java.lang.String str)
-
format
public static java.lang.String format(double number, java.text.NumberFormat format)
-
equals
public static boolean equals(float a, float b, float delta)
-
equals
public static boolean equals(double a, double b, double delta)
-
-