FORTRAN 77 Language Reference

Real Constant

A real constant has one of these forms:

A real exponent denotes a power of ten. The value of a real constant is the product of that power of ten and the constant that precedes the E.

Example: Real constants:


-32. 
-32.18 
1.6E-9 
7E3 
1.6E12 
$1.0E2.0 							Invalid- $ not allowed, error message 
82							Not REAL-need decimal point or exponent 
29,002.0 							Invalid -comma not allowed, error message 
1.6E39 							Invalid-too large, machine infinity is used 
1.6E-39 							Invalid -too small, some precision is lost 

The restrictions are: