Class FixedPointMath
java.lang.Object
com.oracle.truffle.runtime.FixedPointMath
-
Method Summary
Modifier and TypeMethodDescriptionstatic intmultiply(int fixedPointValue, int anInteger) static doubletoDouble(int fixedPointValue) static inttoFixedPoint(double x)
-
Method Details
-
toFixedPoint
public static int toFixedPoint(double x) -
multiply
public static int multiply(int fixedPointValue, int anInteger) -
toDouble
public static double toDouble(int fixedPointValue)
-