Method: Float#hash

Defined in:
numeric.c

#hashInteger

Returns a hash code for this float.

See also Object#hash.

Returns:


1452
1453
1454
1455
1456
# File 'numeric.c', line 1452

static VALUE
flo_hash(VALUE num)
{
    return rb_dbl_hash(RFLOAT_VALUE(num));
}