Bug of the Month for Oct 2007
|
Wanting to exploit the added precision of 64-bit integral arithmetic, a forester wrote the above program to determine the actual number of leaves in his forest. But he's getting some funny results. What's going on? Note, he is using the LP64 model wherein longs and pointers are 64 bits. To run this example on PC-lint or FlexeLint you will need the option -sl8.
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
|
|