From:

Date:

July 10, 2001 00:51Subject:

[DOC PATCH bleadperl] detypo Math::BigInt docsMessage ID:

20010710.095600@ID-11583.news.dfncis.deThis applies over the previous, bigger patch. --- lib/Math/BigInt.pm.orig Tue Jul 10 05:32:44 2001 +++ lib/Math/BigInt.pm Tue Jul 10 07:42:55 2001 @@ -1502,7 +1502,7 @@ # Class->badd( Class->(1),2); => classname x (scalar), ref x, scalar y # Math::BigInt::badd(1,2); => scalar x, scalar y # In the last case we check number of arguments to turn it silently into - # $class,1,2. (We can not take '1' as class ;o) + # $class,1,2. (We cannot take '1' as class ;o) # badd($class,1) is not supported (it should, eventually, try to add undef) # currently it tries 'Math::BigInt' + 1, which will not work. @@ -1592,7 +1592,7 @@ { # this causes a different low lib to take care... $CALC = $_[$i+1] || $CALC; - my $s = 2; $s = 1 if @a-$j < 2; # avoid "can not modify non-existant..." + my $s = 2; $s = 1 if @a-$j < 2; # avoid "cannot modify non-existant..." splice @a, $j, $s; $j -= $s; } } @@ -1984,7 +1984,7 @@ things that need to be answered are marked with '?'. In the next paragraph follows a short description of terms used here (because -these may differ from terms used by others people or documentation). +these may differ from terms used by other people or documentation). During the rest of this document, the shortcuts A (for accuracy), P (for precision), F (fallback) and R (rounding mode) will be used. @@ -2191,7 +2191,7 @@ * fdiv will calculate 1 more digit than required (determined by A, P or F), and, if F is not used, round the result (this will still fail in the case of a result like 0.12345000000001 with A - or P of 5, but this can not be helped - or can it?) + or P of 5, but this cannot be helped - or can it?) * Thus you can have the math done by on Math::Big* class in three modes: + never round (this is the default): This is done by setting A and P to undef. No math operation @@ -2310,7 +2310,7 @@ You should neither care about nor depend on the internal representation; it might change without notice. Use only method calls like C<< $x->sign(); >> -instead relying on the internal hash keys like in C<< $x->{sign}; >>. +instead of relying on the internal hash keys like in C<< $x->{sign}; >>. =head2 mantissa(), exponent() and parts() End of patch. Cheers, Philip -- Philip Newton <Philip.Newton@gmx.net>Thread Next

**[DOC PATCH bleadperl] detypo Math::BigInt docs**by Philip Newton- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by John Peacock
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by Tels
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by Tels
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by Philip Newton
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by John Peacock
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by Philip Newton
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by Tels
- Re: [DOC PATCH bleadperl] detypo Math::BigInt docs by Jarkko Hietaniemi

nntp.perl.org: Perl Programming lists via nntp and http.

Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About