@@ -5066,7 +5066,7 @@ \section{Decimal Floating Point Arithmetic\label{decimal-fp}}
50665066require exact decimal representation, control over precision, control over
50675067rounding to meet legal or regulatory requirements, tracking of significant
50685068decimal places, or for applications where the user expects the results to
5069- calculations done by hand.
5069+ match calculations done by hand.
50705070
50715071For example, calculating a 5\% {} tax on a 70 cent phone charge gives
50725072different results in decimal floating point and binary floating point.
@@ -5081,10 +5081,10 @@ \section{Decimal Floating Point Arithmetic\label{decimal-fp}}
508150810.73499999999999999
50825082\end {verbatim }
50835083
5084- Note that the \class {Decimal} result keeps a trailing zero, automatically
5085- inferring four place significance from two digit mulitiplicands . Decimal
5086- reproduces mathematics as done by hand and avoids issues that can arise
5087- when binary floating point cannot exactly represent decimal quantities.
5084+ The \class {Decimal} result keeps a trailing zero, automatically inferring four
5085+ place significance from the two digit multiplicands . Decimal reproduces
5086+ mathematics as done by hand and avoids issues that can arise when binary
5087+ floating point cannot exactly represent decimal quantities.
50885088
50895089Exact representation enables the \class {Decimal} class to perform
50905090modulo calculations and equality tests that are unsuitable for binary
@@ -5102,8 +5102,8 @@ \section{Decimal Floating Point Arithmetic\label{decimal-fp}}
51025102False
51035103\end {verbatim }
51045104
5105- The \module {decimal} module also allows arbitrarily large precisions to be
5106- set for calculation :
5105+ The \module {decimal} module provides arithmetic with as much precision as
5106+ needed :
51075107
51085108\begin {verbatim }
51095109>>> getcontext().prec = 36
0 commit comments