= private = protected
hash()
Returns a hash code for this float.
static VALUE flo_hash(VALUE num) { double d; int hash; d = RFLOAT_VALUE(num); /* normalize -0.0 to 0.0 */ if (d == 0.0) d = 0.0; hash = rb_memhash(&d, sizeof(d)); return INT2FIX(hash); }