pi


Pi is 3.14159265...


Pi is not a function, but rather a constant value commonly used in programming Bricscad with LISP. The value of pi is approximately equal to 3.14159265.

 

Examples

Code Returns
!pi 3.14159

 

WARNING It is possible to lose the value of pi. For example, the following code causes pi to take on the value of 2.0:

 

Code Returns
(setq pi 2.0) 2.0
!pi 2.0

 

Tell me about...

(atan number1 [number2])

(cos angle)

(sin angle)

(tan angle)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.