INFINITY 4866 array.c if (n == Qnil) return DBL2NUM(INFINITY); INFINITY 6119 bignum.c if (l > INT_MAX) return DBL2NUM(INFINITY); INFINITY 2781 enum.c if (n == Qnil) return DBL2NUM(INFINITY); INFINITY 342 enumerator.c (RB_TYPE_P(argv[0], T_FLOAT) && RFLOAT_VALUE(argv[0]) == INFINITY)) { INFINITY 9000 ext/date/date_core.c positive_inf = +INFINITY; INFINITY 9001 ext/date/date_core.c negative_inf = -INFINITY; INFINITY 146 include/ruby/missing.h #ifndef INFINITY INFINITY 330 include/ruby/win32.h #if defined _MSC_VER && _MSC_VER >= 1800 && defined INFINITY INFINITY 336 include/ruby/win32.h return INFINITY; INFINITY 1665 marshal.c d = INFINITY; INFINITY 1668 marshal.c d = -INFINITY; INFINITY 375 math.c if (d == -1.0) return DBL2NUM(-INFINITY); INFINITY 376 math.c if (d == +1.0) return DBL2NUM(+INFINITY); INFINITY 467 math.c if (d == 0.0) return -INFINITY; INFINITY 520 math.c if (d == 0.0) return DBL2NUM(-INFINITY); INFINITY 560 math.c if (d == 0.0) return DBL2NUM(-INFINITY); INFINITY 743 math.c if (d == 0.0 && signbit(d)) return -INFINITY; INFINITY 746 math.c if (!signbit(d)) return INFINITY; INFINITY 761 math.c return INFINITY; INFINITY 764 math.c return INFINITY; INFINITY 881 math.c return rb_assoc_new(DBL2NUM(INFINITY), INT2FIX(1)); INFINITY 1663 numeric.c y = nextafter(x, INFINITY); INFINITY 1715 numeric.c y = nextafter(x, -INFINITY); INFINITY 2207 numeric.c return INFINITY; INFINITY 2263 numeric.c return DBL2NUM(INFINITY); INFINITY 2289 numeric.c case 0: return DBL2NUM(INFINITY); INFINITY 2365 numeric.c *to = desc ? DBL2NUM(-INFINITY) : DBL2NUM(INFINITY); INFINITY 3698 numeric.c return DBL2NUM(INFINITY); INFINITY 3717 numeric.c return DBL2NUM(RFLOAT_VALUE(y) < 0 ? INFINITY : 0.0); INFINITY 5168 numeric.c rb_define_const(rb_cFloat, "INFINITY", DBL2NUM(INFINITY)); INFINITY 1110 vm_eval.c return DBL2NUM(INFINITY);