Bug of the Month for January 2004
|
In computing the square root of 2 by a variant of Newton's method the programmer was shocked to find that the answer printed was 1.5 -- what's the mistake?
Modify this
example, if desired, and then hit the Analyse Code
button |
|
|
|
Run FlexeLint on Bug of the Month Samples Home | Examples | Contact | Order
PC-lint and FlexeLint are trademarks of Gimpel Software
Copyright © 2009, Gimpel Software
|
|