March 2000
Intermediate to advanced
576 pages
18h 13m
English
Pi Function
function Pi: Extended
The Pi
function returns an approximation for
the mathematical value of . The compiler expands this function
inline so it can treat the Pi function as a
constant and evaluate constant expressions that use
Pi. The compiler also recognizes the context and
uses the appropriate type and precision for its approximation (that
is, Single, Double, or
Extended). As a result, you get a better
approximation of than you could get by writing a decimal
constant.
| Double Type, Extended Type, Single Type |
Read now
Unlock full access