Package org.joml
Class Runtime
java.lang.Object
org.joml.Runtime
Internal class to detect features of the runtime.
- Author:
- Kai Burjack
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final booleanstatic final booleanstatic final boolean -
Method Summary
Modifier and TypeMethodDescriptionstatic longdoubleToLongBits(double dbl) static booleanequals(double a, double b, double delta) static booleanequals(float a, float b, float delta) static intfloatToIntBits(float flt) static Stringformat(double number, NumberFormat format) static StringformatNumbers(String str)
-
Field Details
-
HAS_floatToRawIntBits
public static final boolean HAS_floatToRawIntBits -
HAS_doubleToRawLongBits
public static final boolean HAS_doubleToRawLongBits -
HAS_Long_rotateLeft
public static final boolean HAS_Long_rotateLeft -
HAS_Math_fma
public static final boolean HAS_Math_fma
-
-
Method Details
-
floatToIntBits
public static int floatToIntBits(float flt) -
doubleToLongBits
public static long doubleToLongBits(double dbl) -
formatNumbers
-
format
-
equals
public static boolean equals(float a, float b, float delta) -
equals
public static boolean equals(double a, double b, double delta)
-