File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4180,7 +4180,8 @@ \chapter{Floating Point Arithmetic: Issues and Limitations
41804180Note that this is in the very nature of binary floating-point: this is
41814181not a bug in Python, it is not a bug in your code either, and you'll
41824182see the same kind of thing in all languages that support your
4183- hardware's floating-point arithmetic.
4183+ hardware's floating-point arithmetic (although some languages may
4184+ not \emph {display } the difference by default, or in all output modes).
41844185
41854186Python's builtin \function {str()} function produces only 12
41864187significant digits, and you may wish to use that instead. It's
@@ -4326,7 +4327,7 @@ \section{Representation Error
43264327
43274328Note that since we rounded up, this is actually a little bit larger than
432843291/10; if we had not rounded up, the quotient would have been a little
4329- bit smaller than 1/10. But in no case can it be * exactly* 1/10!
4330+ bit smaller than 1/10. But in no case can it be \emph { exactly } 1/10!
43304331
43314332So the computer never `` sees'' 1/10: what it sees is the exact
43324333fraction given above, the best 754 double approximation it can get:
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Brad Chapman
7171Mitch Chapman
7272David Chaum
7373Nicolas Chauvat
74+ Michael Chermside
7475Albert Chin-A-Young
7576Tom Christiansen
7677Vadim Chugunov
You can’t perform that action at this time.
0 commit comments