Lines Matching refs:to_r
6143 $def(self, '$to_r', function $$to_r() {
11608 …spond_to?,coerce,__send__,raise,equal?,-,*,div,<,-@,ceil,to_f,denominator,to_r,==,floor,/,%,Comple…
11719 return self.$to_r().$denominator()
11774 return self.$to_r().$numerator()
11786 return $rb_divide($Opal['$coerce_to!'](self, $$$('Rational'), "to_r"), other)
16131 …nan?,infinite?,enum_for,+,-,gcd,lcm,%,/,frexp,to_i,ldexp,rationalize,*,<<,to_r,truncate,-@,size,<=…
16817 return self.$to_r().$rationalize(eps)
16894 $def(self, '$to_r', function $$to_r() {
16904 return $rb_times(f, $$$($$$('Float'), 'RADIX')['$**'](e)).$to_r();
19816 …lcm,denominator,finite?,infinite?,numerator,abs,arg,rationalize,to_f,to_i,to_r,inspect,zero?,posit…
20121 $def(self, '$to_r', function $$to_r() {
20127 } return self.real.$to_r();
20259 return $def(self, '$to_r', function $$to_r() {
20270 …Opal.add_stubs('require,to_i,==,raise,<,-@,new,gcd,/,nil?,===,reduce,to_r,!,equal?,coerce_to!,free…
20307 num = num.$to_r();
20309 den = den.$to_r();
20311 return $Opal['$coerce_to!'](num, $$$('Rational'), "to_r")
20337 return [other.$to_r(), self]
20605 $def(self, '$to_r', $return_self);