DBL2NUM 1228 bignum.c return DBL2NUM(rb_big2dbl(x)); DBL2NUM 1490 bignum.c return DBL2NUM(rb_big2dbl(x) + RFLOAT_VALUE(y)); DBL2NUM 1515 bignum.c return DBL2NUM(rb_big2dbl(x) - RFLOAT_VALUE(y)); DBL2NUM 1579 bignum.c return DBL2NUM(rb_big2dbl(x) * RFLOAT_VALUE(y)); DBL2NUM 1811 bignum.c return DBL2NUM(div); DBL2NUM 2004 bignum.c return DBL2NUM(ldexp(big2dbl(z), ex - ey)); DBL2NUM 2029 bignum.c return DBL2NUM(dx / dy); DBL2NUM 2139 bignum.c return DBL2NUM(pow(rb_big2dbl(x), d)); DBL2NUM 12507 ext/ripper/ripper.c set_yylval_literal(DBL2NUM(d)); DBL2NUM 7107 ext/ripper/ripper.y set_yylval_literal(DBL2NUM(d)); DBL2NUM 2768 gc.c rb_hash_aset(prof, ID2SYM(rb_intern("GC_TIME")), DBL2NUM(objspace->profile.record[i].gc_time)); DBL2NUM 2769 gc.c rb_hash_aset(prof, ID2SYM(rb_intern("GC_INVOKE_TIME")), DBL2NUM(objspace->profile.record[i].gc_invoke_time)); DBL2NUM 2774 gc.c rb_hash_aset(prof, ID2SYM(rb_intern("GC_MARK_TIME")), DBL2NUM(objspace->profile.record[i].gc_mark_time)); DBL2NUM 2775 gc.c rb_hash_aset(prof, ID2SYM(rb_intern("GC_SWEEP_TIME")), DBL2NUM(objspace->profile.record[i].gc_sweep_time)); DBL2NUM 1313 marshal.c v = DBL2NUM(d); DBL2NUM 77 math.c return DBL2NUM(atan2(RFLOAT_VALUE(y), RFLOAT_VALUE(x))); DBL2NUM 93 math.c return DBL2NUM(cos(RFLOAT_VALUE(x))); DBL2NUM 109 math.c return DBL2NUM(sin(RFLOAT_VALUE(x))); DBL2NUM 125 math.c return DBL2NUM(tan(RFLOAT_VALUE(x))); DBL2NUM 145 math.c return DBL2NUM(d); DBL2NUM 165 math.c return DBL2NUM(d); DBL2NUM 179 math.c return DBL2NUM(atan(RFLOAT_VALUE(x))); DBL2NUM 202 math.c return DBL2NUM(cosh(RFLOAT_VALUE(x))); DBL2NUM 225 math.c return DBL2NUM(sinh(RFLOAT_VALUE(x))); DBL2NUM 248 math.c return DBL2NUM(tanh(RFLOAT_VALUE(x))); DBL2NUM 268 math.c return DBL2NUM(d); DBL2NUM 282 math.c return DBL2NUM(asinh(RFLOAT_VALUE(x))); DBL2NUM 303 math.c return DBL2NUM(d); DBL2NUM 317 math.c return DBL2NUM(exp(RFLOAT_VALUE(x))); DBL2NUM 356 math.c return DBL2NUM(d); DBL2NUM 389 math.c return DBL2NUM(d); DBL2NUM 410 math.c return DBL2NUM(d); DBL2NUM 447 math.c return DBL2NUM(d); DBL2NUM 486 math.c return DBL2NUM(cbrt(RFLOAT_VALUE(x))); DBL2NUM 510 math.c return rb_assoc_new(DBL2NUM(d), INT2NUM(exp)); DBL2NUM 527 math.c return DBL2NUM(ldexp(RFLOAT_VALUE(x), NUM2INT(n))); DBL2NUM 544 math.c return DBL2NUM(hypot(RFLOAT_VALUE(x), RFLOAT_VALUE(y))); DBL2NUM 558 math.c return DBL2NUM(erf(RFLOAT_VALUE(x))); DBL2NUM 572 math.c return DBL2NUM(erfc(RFLOAT_VALUE(x))); DBL2NUM 625 math.c return DBL2NUM(d); DBL2NUM 651 math.c v = DBL2NUM(d); DBL2NUM 701 math.c rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI)); DBL2NUM 703 math.c rb_define_const(rb_mMath, "PI", DBL2NUM(atan(1.0)*4.0)); DBL2NUM 707 math.c rb_define_const(rb_mMath, "E", DBL2NUM(M_E)); DBL2NUM 709 math.c rb_define_const(rb_mMath, "E", DBL2NUM(exp(1.0))); DBL2NUM 570 numeric.c return DBL2NUM(-RFLOAT_VALUE(flt)); DBL2NUM 586 numeric.c return DBL2NUM(RFLOAT_VALUE(x) + (double)FIX2LONG(y)); DBL2NUM 588 numeric.c return DBL2NUM(RFLOAT_VALUE(x) + rb_big2dbl(y)); DBL2NUM 590 numeric.c return DBL2NUM(RFLOAT_VALUE(x) + RFLOAT_VALUE(y)); DBL2NUM 609 numeric.c return DBL2NUM(RFLOAT_VALUE(x) - (double)FIX2LONG(y)); DBL2NUM 611 numeric.c return DBL2NUM(RFLOAT_VALUE(x) - rb_big2dbl(y)); DBL2NUM 613 numeric.c return DBL2NUM(RFLOAT_VALUE(x) - RFLOAT_VALUE(y)); DBL2NUM 632 numeric.c return DBL2NUM(RFLOAT_VALUE(x) * (double)FIX2LONG(y)); DBL2NUM 634 numeric.c return DBL2NUM(RFLOAT_VALUE(x) * rb_big2dbl(y)); DBL2NUM 636 numeric.c return DBL2NUM(RFLOAT_VALUE(x) * RFLOAT_VALUE(y)); DBL2NUM 659 numeric.c return DBL2NUM(RFLOAT_VALUE(x) / (double)f_y); DBL2NUM 662 numeric.c return DBL2NUM(RFLOAT_VALUE(x) / d); DBL2NUM 664 numeric.c return DBL2NUM(RFLOAT_VALUE(x) / RFLOAT_VALUE(y)); DBL2NUM 734 numeric.c return DBL2NUM(mod); DBL2NUM 781 numeric.c b = DBL2NUM(mod); DBL2NUM 798 numeric.c return DBL2NUM(pow(RFLOAT_VALUE(x), (double)FIX2LONG(y))); DBL2NUM 800 numeric.c return DBL2NUM(pow(RFLOAT_VALUE(x), rb_big2dbl(y))); DBL2NUM 802 numeric.c return DBL2NUM(pow(RFLOAT_VALUE(x), RFLOAT_VALUE(y))); DBL2NUM 1138 numeric.c return DBL2NUM(val); DBL2NUM 1320 numeric.c if (ndigits > 0) return DBL2NUM(number); DBL2NUM 1440 numeric.c if (unit > 0) rb_yield(DBL2NUM(beg)); DBL2NUM 1447 numeric.c rb_yield(DBL2NUM(i*unit+beg)); DBL2NUM 2087 numeric.c return DBL2NUM((double)FIX2LONG(x) + RFLOAT_VALUE(y)); DBL2NUM 2121 numeric.c return DBL2NUM((double)FIX2LONG(x) - RFLOAT_VALUE(y)); DBL2NUM 2180 numeric.c return DBL2NUM((double)FIX2LONG(x) * RFLOAT_VALUE(y)); DBL2NUM 2229 numeric.c return DBL2NUM((double)FIX2LONG(x) / (double)FIX2LONG(y)); DBL2NUM 2233 numeric.c return DBL2NUM((double)FIX2LONG(x) / rb_big2dbl(y)); DBL2NUM 2235 numeric.c return DBL2NUM((double)FIX2LONG(x) / RFLOAT_VALUE(y)); DBL2NUM 2260 numeric.c return DBL2NUM(div); DBL2NUM 2328 numeric.c return DBL2NUM(mod); DBL2NUM 2362 numeric.c b = DBL2NUM(mod); DBL2NUM 2434 numeric.c return DBL2NUM(1.0 / zero); DBL2NUM 2460 numeric.c if (RFLOAT_VALUE(y) == 0.0) return DBL2NUM(1.0); DBL2NUM 2462 numeric.c return DBL2NUM(RFLOAT_VALUE(y) < 0 ? (1.0 / zero) : 0.0); DBL2NUM 2464 numeric.c if (a == 1) return DBL2NUM(1.0); DBL2NUM 2465 numeric.c return DBL2NUM(pow((double)a, RFLOAT_VALUE(y))); DBL2NUM 2835 numeric.c return DBL2NUM(val); DBL2NUM 3220 numeric.c rb_define_const(rb_cFloat, "MIN", DBL2NUM(DBL_MIN)); DBL2NUM 3221 numeric.c rb_define_const(rb_cFloat, "MAX", DBL2NUM(DBL_MAX)); DBL2NUM 3222 numeric.c rb_define_const(rb_cFloat, "EPSILON", DBL2NUM(DBL_EPSILON)); DBL2NUM 852 object.c return DBL2NUM(0.0); DBL2NUM 2233 object.c return DBL2NUM((double)FIX2LONG(val)); DBL2NUM 2239 object.c return DBL2NUM(rb_big2dbl(val)); DBL2NUM 2242 object.c return DBL2NUM(rb_str_to_dbl(val, Qtrue)); DBL2NUM 1688 pack.c UNPACK_PUSH(DBL2NUM((double)tmp)); DBL2NUM 1702 pack.c UNPACK_PUSH(DBL2NUM((double)tmp)); DBL2NUM 1716 pack.c UNPACK_PUSH(DBL2NUM(tmp)); DBL2NUM 1728 pack.c UNPACK_PUSH(DBL2NUM(tmp)); DBL2NUM 1742 pack.c UNPACK_PUSH(DBL2NUM((double)tmp)); DBL2NUM 1756 pack.c UNPACK_PUSH(DBL2NUM(tmp)); DBL2NUM 12439 parse.c set_yylval_literal(DBL2NUM(d)); DBL2NUM 7107 parse.y set_yylval_literal(DBL2NUM(d)); DBL2NUM 4999 process.c utime = DBL2NUM(buf.tms_utime / hertz), DBL2NUM 5000 process.c stime = DBL2NUM(buf.tms_stime / hertz), DBL2NUM 5001 process.c cutime = DBL2NUM(buf.tms_cutime / hertz), DBL2NUM 5002 process.c sctime = DBL2NUM(buf.tms_cstime / hertz)); DBL2NUM 508 random.c return DBL2NUM(genrand_real(mt)); DBL2NUM 525 random.c return DBL2NUM(genrand_real(mt)); DBL2NUM 3964 string.c return DBL2NUM(rb_str_to_dbl(str, Qfalse)); DBL2NUM 1019 time.c return DBL2NUM((double)tobj->ts.tv_sec+(double)tobj->ts.tv_nsec/1e9); DBL2NUM 1516 time.c return DBL2NUM(f);