/* * call-seq: * nil.to_f => 0.0 * * Always returns zero. * * nil.to_f #=> 0.0 */ static VALUE nil_to_f(VALUE obj) { return DOUBLE2NUM(0.0); }