Added handling for PI.
authorTravis Cross <tc@traviscross.com>
Tue, 1 Apr 2008 08:30:07 +0000 (08:30 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 1 Apr 2008 08:30:07 +0000 (08:30 +0000)
src/lib/ps-macro-lib.lisp

index a38b4e8..85ff59e 100644 (file)
@@ -45,6 +45,8 @@
                                  `(floor (* ,upto (*math.random)))
                                  '(*math.random))))
 
+(define-script-symbol-macro pi '*math.*pi*)
+
 ;;; Exception handling
 
 (defpsmacro ignore-errors (&body body)