summaryrefslogtreecommitdiff
path: root/cl-raytracer.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'cl-raytracer.lisp')
-rw-r--r--cl-raytracer.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cl-raytracer.lisp b/cl-raytracer.lisp
index 2655a80..7e79544 100644
--- a/cl-raytracer.lisp
+++ b/cl-raytracer.lisp
@@ -14,6 +14,10 @@
;;; along with this program. If not, see
;;; <http://www.gnu.org/licenses/>.
+;; I'm not sure of the best way to set this just for this file :x
+(eval-when (:compile-toplevel)
+ (setf *read-default-float-format* 'double-float))
+
(defun make-some (n) (cons 'some n))
(defun make-none () 'none)