0.6.11.13:
[sbcl.git] / src / code / irrat.lisp
index 45aa0fb..6544f58 100644 (file)
 (defun cis (theta)
   #!+sb-doc
   "Return cos(Theta) + i sin(Theta), AKA exp(i Theta)."
-  (if (complexp theta)
-      (error "Argument to CIS is complex: ~S" theta)
-      (complex (cos theta) (sin theta))))
+  (declare (type real theta))
+  (complex (cos theta) (sin theta)))
 
 (defun asin (number)
   #!+sb-doc