Uses of Class
org.kink_lang.kink.NumVal
Packages that use NumVal
Package
Description
The core package of the Kink vm.
Provides utility classes around numbers.
-
Uses of NumVal in org.kink_lang.kink
Methods in org.kink_lang.kink that return NumValModifier and TypeMethodDescriptionNumVal.just()Returns this.abstract NumValNumVal.mantissa()Returns the mantissa of the number.abstract NumValNumVal.negate()Returns -this.NumVal.Helper.of(int intNum) Returns a num value representing the specified number.NumVal.Helper.of(long longNum) Returns a num value representing the specified number.NumVal.Helper.of(long mantissa, int scale) Returns a num value (Mantissa=mantissa, Scale=scale).NumVal.Helper.of(BigDecimal bigDecimal) Returns a num value representing the specified number.NumVal.Helper.of(BigInteger bigInt) Returns a num value representing the specified number.Methods in org.kink_lang.kink that return types with arguments of type NumValModifier and TypeMethodDescriptionReturns this + arg.Returns the bitwise and.Returns the integral quotient of this//divisor.Returns this * arg.NumVal.not()Returns the bitwise not of this number.Returns the bitwise or.Returns the remainder of division of this by divisor.Returnsthis << count.NumVal.shiftRight(NumVal count) Returnsthis >> count.Returns this - arg.Returns the bitwise xor.Methods in org.kink_lang.kink with parameters of type NumValModifier and TypeMethodDescriptionReturns this + arg.Returns the bitwise and.intReturns the integral quotient of this//divisor.Returns this * arg.Returns the bitwise or.Returns the remainder of division of this by divisor.Returnsthis << count.NumVal.shiftRight(NumVal count) Returnsthis >> count.Returns this - arg.Returns the bitwise xor. -
Uses of NumVal in org.kink_lang.kink.internal.num
Methods in org.kink_lang.kink.internal.num with parameters of type NumValModifier and TypeMethodDescriptionstatic booleanNumOperations.isRangePair(NumVal from, NumVal to, int size) Returns whetherfromandtoare proper range indexes of the sequence which has the sizesize.