Class CeilNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class CeilNode extends MathOperation
Math.ceil(x). Returns the smallest (closest to -Infinity) Number value that is not less than x and is an integer. If x is already an integer, the result is x. The value of Math.ceil(x) is the same as the value of -Math.floor(-x).
  • Constructor Details

  • Method Details

    • ceilInt

      protected static int ceilInt(int a)
    • ceilSafeInt

      protected static SafeInteger ceilSafeInt(SafeInteger a)
    • ceilDouble

      protected final Object ceilDouble(double d, com.oracle.truffle.api.profiles.InlinedConditionProfile isZero, com.oracle.truffle.api.profiles.InlinedConditionProfile requiresNegativeZero, com.oracle.truffle.api.profiles.InlinedConditionProfile fitsInt, com.oracle.truffle.api.profiles.InlinedConditionProfile fitsSafeLong)
    • ceilToDouble

      protected final Object ceilToDouble(Object a, com.oracle.truffle.api.profiles.InlinedConditionProfile isZero, com.oracle.truffle.api.profiles.InlinedConditionProfile requiresNegativeZero, com.oracle.truffle.api.profiles.InlinedConditionProfile fitsInt, com.oracle.truffle.api.profiles.InlinedConditionProfile fitsSafeLong)