qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Pi Function
  ◄Summary► ◄Details► ◄Example►                                   ◄Back►
 
  Returns
 
    Real    Value of pi (π)
 
  Description
 
    The Pi function returns the value of pi. The degree of precision
    depends on the numeric mode (8087 or alternate math).
 
    If {$N+} is set, the value returned for pi is 3.1415926535897932383.
 
    If {$N-} is set, Pi returns 3.14159265358979.
 
    The compiler directive {$N+} generates 80x87 instructions for
    numeric processing.