1. is not 22/7, 22/7 is a reasonably good approximation, often attributed to Archimedes.
Originally Posted by ajgargand
"The specific statement of Archimedes is Proposition 3 of his treatise Measurement of a Circle:
The ratio of the circumference of any circle to its diameter is less than 3 1/7 but greater than 3 10/71"
2. In Pascal the default float type is float4 a 32 bit float, and 22/7 will be rounded in whatever manner the machine specifies. There is nothing infinite about you program fragment, and it does halt, but with a 32 bit approximation to 22/7.