You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coerces the invocant to a L<FatRat> object by creating a L<FatRat> with the
69
-
same L<numerator> and L<denominator> as the invocant. If the invocant is
70
-
a type object, simply returns a L<FatRat> type object.
68
+
same L<numerator> and L<denominator> as the invocant.
71
69
72
70
=head2method Rat
73
71
74
72
Defined as:
75
73
76
-
multi method Rat(MidRat:U: --> Rat:U)
77
-
multi method Rat(MidRat:D: --> Rat:D)
74
+
method Rat(MidRat:D: --> Rat:D)
78
75
79
76
Coerces the invocant to a L<Rat>. If the denominator fits into C<uint64>, no
80
77
precision loss occurs and a L<Rat> object with the same L<numerator> and L<denominator> as the invocant is returned. Otherwise, an operation equivalent
81
78
to coercing the invocant to a L<Num> and then coercing that L<Num> to a L<Rat>
82
-
is performed. If the invocant is
83
-
a type object, simply returns a L<Rat> type object.
0 commit comments