} else if ((v = checkMaxInt(context, vmax)) != null) { v = randInt(context, random, (RubyInteger) v, true); } else if ((v = TypeConverter.checkFloatType(context.runtime, vmax)) != nil) { double max = ((RubyFloat) v).getDoubleValue(); if (max > 0.0) { v = nil; } else if ((v = TypeConverter.checkFloatType(context.runtime, range.range)) != nil) { int scale = 1; double max = ((RubyFloat) v).getDoubleValue(); IRubyObject f = TypeConverter.checkFloatType(context.runtime, range.begin); if (f != nil) return ((RubyFloat) v).op_plus(context, f);
} else if ((v = checkMaxInt(context, vmax)) != null) { v = randInt(context, random, (RubyInteger) v, true); } else if ((v = TypeConverter.checkFloatType(context.runtime, vmax)) != nil) { double max = ((RubyFloat) v).getDoubleValue(); if (max > 0.0) { v = nil; } else if ((v = TypeConverter.checkFloatType(context.runtime, range.range)) != nil) { int scale = 1; double max = ((RubyFloat) v).getDoubleValue(); IRubyObject f = TypeConverter.checkFloatType(context.runtime, range.begin); if (f != nil) return ((RubyFloat) v).op_plus(context, f);
} else if ((v = checkMaxInt(context, vmax)) != null) { v = randInt(context, random, (RubyInteger) v, true); } else if (!(v = TypeConverter.checkFloatType(context.runtime, vmax)).isNil()) { double max = floatValue(v); if (max > 0.0) { v = context.nil; } else if (!(v = TypeConverter.checkFloatType(context.runtime, range.range)).isNil()) { int scale = 1; double max = ((RubyFloat) v).getDoubleValue(); return ((RubyBignum) v).op_plus(context, range.begin); } else if (v instanceof RubyFloat) { IRubyObject f = TypeConverter.checkFloatType(context.runtime, range.begin); if (!f.isNil()) { return ((RubyFloat) v).op_plus(context, f);
} else if ((v = checkMaxInt(context, vmax)) != null) { v = randInt(context, random, (RubyInteger) v, true); } else if (!(v = TypeConverter.checkFloatType(context.runtime, vmax)).isNil()) { double max = floatValue(v); if (max > 0.0) { v = context.nil; } else if (!(v = TypeConverter.checkFloatType(context.runtime, range.range)).isNil()) { int scale = 1; double max = ((RubyFloat) v).getDoubleValue(); return ((RubyBignum) v).op_plus(context, range.begin); } else if (v instanceof RubyFloat) { IRubyObject f = TypeConverter.checkFloatType(context.runtime, range.begin); if (!f.isNil()) { return ((RubyFloat) v).op_plus(context, f);