summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/math.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/sly/math.scm b/sly/math.scm
index 8f7ce71..073a399 100644
--- a/sly/math.scm
+++ b/sly/math.scm
@@ -22,7 +22,7 @@
;;; Code:
(define-module (sly math)
- #:export (pi
+ #:export (pi pi/2
degrees->radians
radians->degrees
sin-degrees
@@ -57,6 +57,7 @@
;; 817488 152092096
;;
(define pi 3.141592654)
+(define pi/2 (/ pi 2))
(define (degrees->radians angle)
"Convert ANGLE in degrees to radians."