Skip to content

Commit

Permalink
Incorporate TimToady++'s suggestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed May 11, 2012
1 parent 1cbef9e commit a424107
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions S02-bits.pod
Expand Up @@ -788,10 +788,10 @@ unreduced values. You can use C<$rat.=norm> to normalize the fraction.
The C<.perl> method will produce a decimal number if the denominator is
a power of 10, or normalizable to a power of 10 (that is, having factors
of only 2 and 5 (and -1)). Otherwise it will normalize and return a rational
literal of the form C<< <-47/3> >>. Stringifying a rational via C<.gist>
or C<.Str> returns an exact decimal number if possible, and rounds off
the repeated decimal otherwise. For full details see the documentation
of C<Rat.gist> in S32.
literal of the form C<< <-47/3> >>. Stringifying a rational via C<.gist>
or C<.Str> returns an exact decimal number if possible, and otherwise rounds
off the repeated decimal based on the size of the denominator. For full
details see the documentation of C<Rat.gist> in S32.

C<Num.Str> and C<Num.gist> both produce valid Num literals, so they must
include the C<e> for the exponential.
Expand Down

0 comments on commit a424107

Please sign in to comment.