Method: Float#hash
- Defined in:
- numeric.c
#hash ⇒ Integer
Returns a hash code for this float.
See also Object#hash.
1452 1453 1454 1455 1456 |
# File 'numeric.c', line 1452
static VALUE
flo_hash(VALUE num)
{
return rb_dbl_hash(RFLOAT_VALUE(num));
}
|