FIX2LONG 948 array.c return rb_ary_entry(ary, FIX2LONG(arg)); FIX2LONG 1276 array.c offset = FIX2LONG(argv[0]); FIX2LONG 1904 array.c rb_ary_push(result, (*func)(obj, FIX2LONG(argv[i]))); FIX2LONG 285 bignum.c q = FIX2LONG(val); FIX2LONG 356 bignum.c val = rb_int2big(FIX2LONG(val)); FIX2LONG 1248 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1291 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1484 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1509 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1572 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1801 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1861 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1891 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1919 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 1996 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 2015 bignum.c dy = (double)FIX2LONG(y); FIX2LONG 2110 bignum.c yy = FIX2LONG(y); FIX2LONG 2172 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 2227 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 2285 bignum.c y = rb_int2big(FIX2LONG(y)); FIX2LONG 2351 bignum.c shift = FIX2LONG(y); FIX2LONG 2415 bignum.c shift = FIX2LONG(y); FIX2LONG 2567 bignum.c return rb_assoc_new(rb_int2big(FIX2LONG(y)), x); FIX2LONG 4995 compile.c rb_raise(rb_eSyntaxError, "dump_disasm_list error: %ld\n", FIX2LONG(link->type)); FIX2LONG 72 complex.c if (FIXNUM_P(y) && FIX2LONG(y) == 0) FIX2LONG 74 complex.c else if (FIXNUM_P(x) && FIX2LONG(x) == 0) FIX2LONG 84 complex.c long c = FIX2LONG(x) - FIX2LONG(y); FIX2LONG 97 complex.c if (FIXNUM_P(y) && FIX2LONG(y) == 1) FIX2LONG 106 complex.c return f_boolcast(FIX2LONG(x) > FIX2LONG(y)); FIX2LONG 114 complex.c return f_boolcast(FIX2LONG(x) < FIX2LONG(y)); FIX2LONG 125 complex.c long iy = FIX2LONG(y); FIX2LONG 134 complex.c long ix = FIX2LONG(x); FIX2LONG 150 complex.c if (FIXNUM_P(y) && FIX2LONG(y) == 0) FIX2LONG 182 complex.c return f_boolcast(FIX2LONG(x) == FIX2LONG(y)); FIX2LONG 194 complex.c return f_boolcast(FIX2LONG(x) < 0); FIX2LONG 204 complex.c return f_boolcast(FIX2LONG(x) == 0); FIX2LONG 214 complex.c return f_boolcast(FIX2LONG(x) == 1); FIX2LONG 224 ext/bigdecimal/bigdecimal.c sprintf(szD, "%ld", FIX2LONG(v)); FIX2LONG 92 ext/json/ext/generator/generator.c depth = 1 + FIX2LONG(Vdepth); FIX2LONG 142 ext/json/ext/generator/generator.c depth = NIL_P(Vdepth) ? 0 : FIX2LONG(Vdepth); FIX2LONG 172 ext/json/ext/generator/generator.c long depth = NIL_P(Vdepth) ? 0 : FIX2LONG(Vdepth); FIX2LONG 502 ext/json/ext/generator/generator.c state->max_nesting = FIX2LONG(max_nesting); FIX2LONG 747 ext/json/ext/generator/generator.c state->max_nesting = FIX2LONG(depth); FIX2LONG 245 ext/openssl/ossl_x509req.c if ((ver = FIX2LONG(version)) < 0) { FIX2LONG 14114 ext/ripper/ripper.c node->nd_lit = LONG2FIX(-FIX2LONG(node->nd_lit)); FIX2LONG 8714 ext/ripper/ripper.y node->nd_lit = LONG2FIX(-FIX2LONG(node->nd_lit)); FIX2LONG 904 ext/socket/socket.c snprintf(pbuf, len, "%ld", FIX2LONG(port)); FIX2LONG 84 hash.c hnum = (int)FIX2LONG(hval); FIX2LONG 403 include/ruby/ruby.h return FIXNUM_P(x) ? FIX2LONG(x) : rb_num2long(x); FIX2LONG 422 include/ruby/ruby.h #define FIX2INT(x) ((int)FIX2LONG(x)) FIX2LONG 432 include/ruby/ruby.h return FIXNUM_P(x) ? FIX2LONG(x) : rb_num2ll(x); FIX2LONG 6722 io.c narg = FIX2LONG(arg); FIX2LONG 575 marshal.c w_long(FIX2LONG(obj), arg); FIX2LONG 578 marshal.c w_object(rb_int2big(FIX2LONG(obj)), arg, limit); FIX2LONG 586 numeric.c return DBL2NUM(RFLOAT_VALUE(x) + (double)FIX2LONG(y)); FIX2LONG 609 numeric.c return DBL2NUM(RFLOAT_VALUE(x) - (double)FIX2LONG(y)); FIX2LONG 632 numeric.c return DBL2NUM(RFLOAT_VALUE(x) * (double)FIX2LONG(y)); FIX2LONG 658 numeric.c f_y = FIX2LONG(y); FIX2LONG 722 numeric.c fy = (double)FIX2LONG(y); FIX2LONG 768 numeric.c fy = (double)FIX2LONG(y); FIX2LONG 798 numeric.c return DBL2NUM(pow(RFLOAT_VALUE(x), (double)FIX2LONG(y))); FIX2LONG 869 numeric.c b = FIX2LONG(y); FIX2LONG 931 numeric.c b = (double)FIX2LONG(y); FIX2LONG 963 numeric.c b = (double)FIX2LONG(y); FIX2LONG 998 numeric.c b = (double)FIX2LONG(y); FIX2LONG 1032 numeric.c b = (double)FIX2LONG(y); FIX2LONG 1067 numeric.c b = (double)FIX2LONG(y); FIX2LONG 1508 numeric.c i = FIX2LONG(from); FIX2LONG 1509 numeric.c end = FIX2LONG(to); FIX2LONG 1510 numeric.c diff = FIX2LONG(step); FIX2LONG 1552 numeric.c if (FIXNUM_P(val)) return FIX2LONG(val); FIX2LONG 1634 numeric.c long num = FIXNUM_P(val)?FIX2LONG(val):rb_num2long(val); FIX2LONG 1698 numeric.c if (FIXNUM_P(val)) return (LONG_LONG)FIX2LONG(val); FIX2LONG 1843 numeric.c long i = FIX2LONG(num) + 1; FIX2LONG 1862 numeric.c long i = FIX2LONG(num) + 1; FIX2LONG 1882 numeric.c long i = FIX2LONG(num) - 1; FIX2LONG 1997 numeric.c return LONG2NUM(-FIX2LONG(num)); FIX2LONG 2005 numeric.c long val = FIX2LONG(x); FIX2LONG 2076 numeric.c a = FIX2LONG(x); FIX2LONG 2077 numeric.c b = FIX2LONG(y); FIX2LONG 2087 numeric.c return DBL2NUM((double)FIX2LONG(x) + RFLOAT_VALUE(y)); FIX2LONG 2109 numeric.c a = FIX2LONG(x); FIX2LONG 2110 numeric.c b = FIX2LONG(y); FIX2LONG 2118 numeric.c x = rb_int2big(FIX2LONG(x)); FIX2LONG 2121 numeric.c return DBL2NUM((double)FIX2LONG(x) - RFLOAT_VALUE(y)); FIX2LONG 2156 numeric.c a = FIX2LONG(x); FIX2LONG 2157 numeric.c b = FIX2LONG(y); FIX2LONG 2170 numeric.c if (FIX2LONG(r) != c || c/a != b) { FIX2LONG 2180 numeric.c return DBL2NUM((double)FIX2LONG(x) * RFLOAT_VALUE(y)); FIX2LONG 2229 numeric.c return DBL2NUM((double)FIX2LONG(x) / (double)FIX2LONG(y)); FIX2LONG 2233 numeric.c return DBL2NUM((double)FIX2LONG(x) / rb_big2dbl(y)); FIX2LONG 2235 numeric.c return DBL2NUM((double)FIX2LONG(x) / RFLOAT_VALUE(y)); FIX2LONG 2247 numeric.c fixdivmod(FIX2LONG(x), FIX2LONG(y), &div, 0); FIX2LONG 2252 numeric.c x = rb_int2big(FIX2LONG(x)); FIX2LONG 2259 numeric.c div = (double)FIX2LONG(x) / RFLOAT_VALUE(y); FIX2LONG 2264 numeric.c div = (double)FIX2LONG(x) / RFLOAT_VALUE(y); FIX2LONG 2316 numeric.c fixdivmod(FIX2LONG(x), FIX2LONG(y), 0, &mod); FIX2LONG 2321 numeric.c x = rb_int2big(FIX2LONG(x)); FIX2LONG 2327 numeric.c flodivmod((double)FIX2LONG(x), RFLOAT_VALUE(y), 0, &mod); FIX2LONG 2347 numeric.c fixdivmod(FIX2LONG(x), FIX2LONG(y), &div, &mod); FIX2LONG 2353 numeric.c x = rb_int2big(FIX2LONG(x)); FIX2LONG 2360 numeric.c flodivmod((double)FIX2LONG(x), RFLOAT_VALUE(y), &div, &mod); FIX2LONG 2422 numeric.c long a = FIX2LONG(x); FIX2LONG 2425 numeric.c long b = FIX2LONG(y); FIX2LONG 2457 numeric.c x = rb_int2big(FIX2LONG(x)); FIX2LONG 2491 numeric.c return (double)FIX2LONG(x) == RFLOAT_VALUE(y) ? Qtrue : Qfalse; FIX2LONG 2511 numeric.c if (FIX2LONG(x) > FIX2LONG(y)) return INT2FIX(1); FIX2LONG 2516 numeric.c return rb_big_cmp(rb_int2big(FIX2LONG(x)), y); FIX2LONG 2518 numeric.c return rb_dbl_cmp((double)FIX2LONG(x), RFLOAT_VALUE(y)); FIX2LONG 2536 numeric.c if (FIX2LONG(x) > FIX2LONG(y)) return Qtrue; FIX2LONG 2541 numeric.c return FIX2INT(rb_big_cmp(rb_int2big(FIX2LONG(x)), y)) > 0 ? Qtrue : Qfalse; FIX2LONG 2543 numeric.c return (double)FIX2LONG(x) > RFLOAT_VALUE(y) ? Qtrue : Qfalse; FIX2LONG 2561 numeric.c if (FIX2LONG(x) >= FIX2LONG(y)) return Qtrue; FIX2LONG 2566 numeric.c return FIX2INT(rb_big_cmp(rb_int2big(FIX2LONG(x)), y)) >= 0 ? Qtrue : Qfalse; FIX2LONG 2568 numeric.c return (double)FIX2LONG(x) >= RFLOAT_VALUE(y) ? Qtrue : Qfalse; FIX2LONG 2586 numeric.c if (FIX2LONG(x) < FIX2LONG(y)) return Qtrue; FIX2LONG 2591 numeric.c return FIX2INT(rb_big_cmp(rb_int2big(FIX2LONG(x)), y)) < 0 ? Qtrue : Qfalse; FIX2LONG 2593 numeric.c return (double)FIX2LONG(x) < RFLOAT_VALUE(y) ? Qtrue : Qfalse; FIX2LONG 2611 numeric.c if (FIX2LONG(x) <= FIX2LONG(y)) return Qtrue; FIX2LONG 2616 numeric.c return FIX2INT(rb_big_cmp(rb_int2big(FIX2LONG(x)), y)) <= 0 ? Qtrue : Qfalse; FIX2LONG 2618 numeric.c return (double)FIX2LONG(x) <= RFLOAT_VALUE(y) ? Qtrue : Qfalse; FIX2LONG 2634 numeric.c long val = FIX2LONG(num); FIX2LONG 2667 numeric.c val = FIX2LONG(x) & FIX2LONG(y); FIX2LONG 2686 numeric.c val = FIX2LONG(x) | FIX2LONG(y); FIX2LONG 2705 numeric.c val = FIX2LONG(x) ^ FIX2LONG(y); FIX2LONG 2727 numeric.c width = FIX2LONG(y); FIX2LONG 2756 numeric.c val = FIX2LONG(x); FIX2LONG 2759 numeric.c i = FIX2LONG(y); FIX2LONG 2796 numeric.c long val = FIX2LONG(fix); FIX2LONG 2808 numeric.c i = FIX2LONG(idx); FIX2LONG 2833 numeric.c val = (double)FIX2LONG(num); FIX2LONG 2852 numeric.c long i = FIX2LONG(fix); FIX2LONG 2900 numeric.c end = FIX2LONG(to); FIX2LONG 2901 numeric.c for (i = FIX2LONG(from); i <= end; i++) { FIX2LONG 2939 numeric.c end = FIX2LONG(to); FIX2LONG 2940 numeric.c for (i=FIX2LONG(from); i >= end; i--) { FIX2LONG 2980 numeric.c end = FIX2LONG(num); FIX2LONG 3018 numeric.c SIGNED_VALUE x = FIX2LONG(num), y = FIX2LONG(f); FIX2LONG 3045 numeric.c if (FIX2LONG(num) == 0) { FIX2LONG 2233 object.c return DBL2NUM((double)FIX2LONG(val)); FIX2LONG 339 pack.c if (FIXNUM_P(x)) return FIX2LONG(x); FIX2LONG 14046 parse.c node->nd_lit = LONG2FIX(-FIX2LONG(node->nd_lit)); FIX2LONG 8714 parse.y node->nd_lit = LONG2FIX(-FIX2LONG(node->nd_lit)); FIX2LONG 2127 process.c rb_close_before_exec(3, FIX2LONG(obj), e->redirect_fds); FIX2LONG 507 random.c if (FIX2LONG((VALUE)limit) == -1) FIX2LONG 509 random.c return LONG2NUM(limited_rand(mt, FIX2LONG((VALUE)limit))); FIX2LONG 520 random.c max = FIX2LONG(vmax); FIX2LONG 326 range.c long end = FIX2LONG(e); FIX2LONG 327 range.c long i, unit = FIX2LONG(step); FIX2LONG 331 range.c i = FIX2LONG(b); FIX2LONG 420 range.c long lim = FIX2LONG(end); FIX2LONG 425 range.c for (i = FIX2LONG(beg); i < lim; i++) { FIX2LONG 589 range.c return LONG2NUM(FIX2LONG(e) - 1); FIX2LONG 59 rational.c if (FIXNUM_P(y) && FIX2LONG(y) == 0) FIX2LONG 61 rational.c else if (FIXNUM_P(x) && FIX2LONG(x) == 0) FIX2LONG 70 rational.c long c = FIX2LONG(x) - FIX2LONG(y); FIX2LONG 83 rational.c if (FIXNUM_P(y) && FIX2LONG(y) == 1) FIX2LONG 92 rational.c return f_boolcast(FIX2LONG(x) > FIX2LONG(y)); FIX2LONG 100 rational.c return f_boolcast(FIX2LONG(x) < FIX2LONG(y)); FIX2LONG 110 rational.c long iy = FIX2LONG(y); FIX2LONG 119 rational.c long ix = FIX2LONG(x); FIX2LONG 133 rational.c if (FIXNUM_P(y) && FIX2LONG(y) == 0) FIX2LONG 155 rational.c return f_boolcast(FIX2LONG(x) == FIX2LONG(y)); FIX2LONG 166 rational.c return f_boolcast(FIX2LONG(x) < 0); FIX2LONG 176 rational.c return f_boolcast(FIX2LONG(x) == 0); FIX2LONG 186 rational.c return f_boolcast(FIX2LONG(x) == 1); FIX2LONG 254 rational.c return LONG2NUM(i_gcd(FIX2LONG(x), FIX2LONG(y))); FIX2LONG 268 rational.c if (FIX2LONG(x) == 0) FIX2LONG 271 rational.c return LONG2NUM(i_gcd(FIX2LONG(x), FIX2LONG(y))); FIX2LONG 574 rational.c long an = FIX2LONG(anum); FIX2LONG 575 rational.c long ad = FIX2LONG(aden); FIX2LONG 576 rational.c long bn = FIX2LONG(bnum); FIX2LONG 577 rational.c long bd = FIX2LONG(bden); FIX2LONG 691 rational.c long an = FIX2LONG(anum); FIX2LONG 692 rational.c long ad = FIX2LONG(aden); FIX2LONG 693 rational.c long bn = FIX2LONG(bnum); FIX2LONG 694 rational.c long bd = FIX2LONG(bden); FIX2LONG 831 rational.c if (FIXNUM_P(dat->den) && FIX2LONG(dat->den) == 1) FIX2LONG 845 rational.c num1 = f_imul(FIX2LONG(adat->num), FIX2LONG(bdat->den)); FIX2LONG 846 rational.c num2 = f_imul(FIX2LONG(bdat->num), FIX2LONG(adat->den)); FIX2LONG 873 rational.c if (FIX2LONG(dat->den) != 1) FIX2LONG 759 sprintf.c v = FIX2LONG(val); FIX2LONG 2200 string.c result = -FIX2LONG(tmp); FIX2LONG 2922 string.c idx = FIX2LONG(indx); FIX2LONG 3176 string.c idx = FIX2LONG(indx); FIX2LONG 3877 thread.c count = FIX2LONG(RARRAY_PTR(coverage)[line]) + 1; FIX2LONG 191 time.c t.tv_sec = FIX2LONG(num);