Lines Matching refs:to_r
6152 $def(self, '$to_r', function $$to_r() {
11617 …spond_to?,coerce,__send__,raise,equal?,-,*,div,<,-@,ceil,to_f,denominator,to_r,==,floor,/,%,Comple…
11728 return self.$to_r().$denominator()
11783 return self.$to_r().$numerator()
11795 return $rb_divide($Opal['$coerce_to!'](self, $$$('Rational'), "to_r"), other)
16140 …nan?,infinite?,enum_for,+,-,gcd,lcm,%,/,frexp,to_i,ldexp,rationalize,*,<<,to_r,truncate,-@,size,<=…
16826 return self.$to_r().$rationalize(eps)
16903 $def(self, '$to_r', function $$to_r() {
16913 return $rb_times(f, $$$($$$('Float'), 'RADIX')['$**'](e)).$to_r();
19825 …lcm,denominator,finite?,infinite?,numerator,abs,arg,rationalize,to_f,to_i,to_r,inspect,zero?,posit…
20130 $def(self, '$to_r', function $$to_r() {
20136 } return self.real.$to_r();
20268 return $def(self, '$to_r', function $$to_r() {
20279 …Opal.add_stubs('require,to_i,==,raise,<,-@,new,gcd,/,nil?,===,reduce,to_r,!,equal?,coerce_to!,free…
20316 num = num.$to_r();
20318 den = den.$to_r();
20320 return $Opal['$coerce_to!'](num, $$$('Rational'), "to_r")
20346 return [other.$to_r(), self]
20614 $def(self, '$to_r', $return_self);