public class MathLinker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.invoke.MethodHandle |
FIXNUM_BOOLEAN |
static java.lang.invoke.MethodHandle |
FIXNUM_BOOLEAN_FAIL |
static java.lang.invoke.MethodHandle |
FIXNUM_OPERATOR |
static java.lang.invoke.MethodHandle |
FIXNUM_OPERATOR_FAIL |
static java.lang.invoke.MethodHandle |
FIXNUM_TEST |
static java.lang.invoke.MethodHandle |
FIXNUM_TEST_ARG_2_TO_0 |
static java.lang.invoke.MethodHandle |
FLOAT_OPERATOR |
static java.lang.invoke.MethodHandle |
FLOAT_OPERATOR_FAIL |
static java.lang.invoke.MethodHandle |
FLOAT_TEST |
static java.lang.invoke.MethodHandle |
FLOAT_TEST_ARG_2_TO_0 |
Constructor and Description |
---|
MathLinker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
fixnum_boolean_op_equal(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static boolean |
fixnum_boolean_op_ge(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static boolean |
fixnum_boolean_op_gt(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static boolean |
fixnum_boolean_op_le(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static boolean |
fixnum_boolean_op_lt(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_and(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_cmp(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_div(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_equal(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_ge(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_gt(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_le(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_lshift(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_lt(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_minus_one(ThreadContext context,
IRubyObject caller,
IRubyObject self) |
static IRubyObject |
fixnum_op_minus_two(ThreadContext context,
IRubyObject caller,
IRubyObject self) |
static IRubyObject |
fixnum_op_minus(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_mod(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_mul(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_or(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_plus_one(ThreadContext context,
IRubyObject caller,
IRubyObject self) |
static IRubyObject |
fixnum_op_plus_two(ThreadContext context,
IRubyObject caller,
IRubyObject self) |
static IRubyObject |
fixnum_op_plus(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_rshift(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static IRubyObject |
fixnum_op_xor(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long value) |
static boolean |
fixnumBoolean(ThreadContext context,
IRubyObject caller,
IRubyObject self,
JRubyCallSite site,
long value) |
static java.lang.invoke.CallSite |
fixnumBooleanBootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
long value,
int callType,
java.lang.String file,
int line) |
static IRubyObject |
fixnumOperator(ThreadContext context,
IRubyObject caller,
IRubyObject self,
JRubyCallSite site,
long value) |
static java.lang.invoke.CallSite |
fixnumOperatorBootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
long value,
int callType,
java.lang.String file,
int line) |
static IRubyObject |
float_op_cmp(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_div(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_equal(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_ge(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_gt(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_le(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_lt(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_minus(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_mod(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_mul(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
float_op_plus(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double value) |
static IRubyObject |
floatOperator(ThreadContext context,
IRubyObject caller,
IRubyObject self,
JRubyCallSite site,
double value) |
static java.lang.invoke.CallSite |
floatOperatorBootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
double value,
int callType,
java.lang.String file,
int line) |
public static final java.lang.invoke.MethodHandle FIXNUM_TEST
public static final java.lang.invoke.MethodHandle FIXNUM_OPERATOR_FAIL
public static final java.lang.invoke.MethodHandle FIXNUM_BOOLEAN_FAIL
public static final java.lang.invoke.MethodHandle FLOAT_TEST
public static final java.lang.invoke.MethodHandle FLOAT_OPERATOR_FAIL
public static final java.lang.invoke.MethodHandle FIXNUM_OPERATOR
public static final java.lang.invoke.MethodHandle FIXNUM_BOOLEAN
public static final java.lang.invoke.MethodHandle FLOAT_OPERATOR
public static final java.lang.invoke.MethodHandle FLOAT_TEST_ARG_2_TO_0
public static final java.lang.invoke.MethodHandle FIXNUM_TEST_ARG_2_TO_0
public static java.lang.invoke.CallSite fixnumOperatorBootstrap(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.String name, java.lang.invoke.MethodType type, long value, int callType, java.lang.String file, int line) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
public static java.lang.invoke.CallSite fixnumBooleanBootstrap(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.String name, java.lang.invoke.MethodType type, long value, int callType, java.lang.String file, int line) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
public static java.lang.invoke.CallSite floatOperatorBootstrap(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.String name, java.lang.invoke.MethodType type, double value, int callType, java.lang.String file, int line) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
public static IRubyObject fixnumOperator(ThreadContext context, IRubyObject caller, IRubyObject self, JRubyCallSite site, long value) throws java.lang.Throwable
java.lang.Throwable
public static boolean fixnumBoolean(ThreadContext context, IRubyObject caller, IRubyObject self, JRubyCallSite site, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_plus(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_minus(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_mul(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_mod(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_div(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_equal(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_lt(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_le(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_gt(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_ge(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static boolean fixnum_boolean_op_equal(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static boolean fixnum_boolean_op_lt(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static boolean fixnum_boolean_op_le(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static boolean fixnum_boolean_op_gt(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static boolean fixnum_boolean_op_ge(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_cmp(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_and(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_or(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_xor(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_rshift(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_lshift(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_plus_one(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_minus_one(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_plus_two(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject fixnum_op_minus_two(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject floatOperator(ThreadContext context, IRubyObject caller, IRubyObject self, JRubyCallSite site, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_plus(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_minus(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_mul(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_mod(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_div(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_equal(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_lt(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_le(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_gt(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_ge(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
public static IRubyObject float_op_cmp(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwable
Copyright © 2001-2022 JRuby. All Rights Reserved.