Skip to content

Commit ca6e7ac

Browse files
authored
Document Rational.norm as deprecated
1 parent ff2e2bc commit ca6e7ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/Type/Rational.pod6

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ Returns a list of the numerator and denominator.
109109
110110
method norm(Rational:D: --> Rational:D)
111111
112+
B<DEPRECATED as of 6.d>. The method is no longer needed, because as of 6.d
113+
language version, it's required for C<Rational> type to be normalized on creation.
114+
112115
Returns a normalized Rational object, i.e. with positive denominator, and
113116
numerator and denominator coprime.
114117

0 commit comments

Comments
 (0)