public abstract class CeilNode extends MathOperation
Math.ceil(x) is the same as the value of -Math.floor(-x).JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedINTERMEDIATE_VALUE| Constructor and Description |
|---|
CeilNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static Object |
ceilDouble(double d,
com.oracle.truffle.api.profiles.ConditionProfile isZero,
com.oracle.truffle.api.profiles.ConditionProfile requiresNegativeZero,
com.oracle.truffle.api.profiles.ConditionProfile fitsInt,
com.oracle.truffle.api.profiles.ConditionProfile fitsSafeLong) |
protected static int |
ceilInt(int a) |
protected static SafeInteger |
ceilSafeInt(SafeInteger a) |
protected Object |
ceilToDouble(Object a,
com.oracle.truffle.api.profiles.ConditionProfile isZero,
com.oracle.truffle.api.profiles.ConditionProfile requiresNegativeZero,
com.oracle.truffle.api.profiles.ConditionProfile fitsInt,
com.oracle.truffle.api.profiles.ConditionProfile fitsSafeLong) |
toDoublecopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealmaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected static int ceilInt(int a)
protected static SafeInteger ceilSafeInt(SafeInteger a)
protected static Object ceilDouble(double d, com.oracle.truffle.api.profiles.ConditionProfile isZero, com.oracle.truffle.api.profiles.ConditionProfile requiresNegativeZero, com.oracle.truffle.api.profiles.ConditionProfile fitsInt, com.oracle.truffle.api.profiles.ConditionProfile fitsSafeLong)
protected Object ceilToDouble(Object a, com.oracle.truffle.api.profiles.ConditionProfile isZero, com.oracle.truffle.api.profiles.ConditionProfile requiresNegativeZero, com.oracle.truffle.api.profiles.ConditionProfile fitsInt, com.oracle.truffle.api.profiles.ConditionProfile fitsSafeLong)