eql?(p1) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
rb_float_eql(VALUE x, VALUE y)
    if (RB_TYPE_P(y, T_FLOAT)) {
        double a = RFLOAT_VALUE(x);
        double b = RFLOAT_VALUE(y);
#if defined(_MSC_VER) && _MSC_VER < 1300
        if (isnan(a) || isnan(b)) return Qfalse;
        if (a == b)
            return Qtrue;
    return Qfalse;
Register or log in to add new notes.