instance method
Float#hash
() -> ::Integer
hash → integer
numeric.c
View on GitHub ↗
static VALUE
flo_hash(VALUE num)
{
return rb_dbl_hash(RFLOAT_VALUE(num));
}
Returns the integer hash value for self.
See also Object#hash.