diff options
Diffstat (limited to 'chapter16/README.md')
| -rw-r--r-- | chapter16/README.md | 6 |
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 |
