summaryrefslogtreecommitdiff
path: root/chapter16/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-10-21 08:51:07 -0700
committerCliff Click <cliffc@acm.org>2024-10-21 08:52:01 -0700
commit0286fc81d9d7726cd878e9f67ec1c021b9f1e17b (patch)
tree371ed28098ad7a4d371cf321c665dfb889561f5e /chapter16/README.md
parent5059abc385a3cb5aed1f4838b1d5812fea453eec (diff)
downloadSimple-0286fc81d9d7726cd878e9f67ec1c021b9f1e17b.tar.gz
Simple-0286fc81d9d7726cd878e9f67ec1c021b9f1e17b.zip
Minor README comment changes
Diffstat (limited to 'chapter16/README.md')
-rw-r--r--chapter16/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter16/README.md b/chapter16/README.md
index 15125118..f78c8abc 100644
--- a/chapter16/README.md
+++ b/chapter16/README.md
@@ -52,8 +52,10 @@ declaration or the allocation. Any amount of code is legal, including
```
struct Square {
flt side = arg;
- flt diag = arg*arg/2;
- // Newtons approximation to the square root, done in a constructor
+ flt diag = arg*arg/2;
+ // Newtons approximation to the square root, computed in a constructor.
+ // The actual allocation will copy in this result as the initial
+ // value for 'diag'.
while( 1 ) {
// The next-guess variable "next" is not a field in Square,
// because it does not appear at the top level