From c326ca8f3b5e580065c35a5d4d3ced3e8d6063e3 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Tue, 11 Dec 1990 18:08:55 +0000
Subject: [PATCH] In %INITIAL-FUNCTION, added call to SET-FLOATING-POINT-MODES
 to enable float exception trapping.

---
 code/lispinit.lisp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/code/lispinit.lisp b/code/lispinit.lisp
index af8c22326..05f0769fc 100644
--- a/code/lispinit.lisp
+++ b/code/lispinit.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/lispinit.lisp,v 1.16 1990/11/28 17:11:04 wlott Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/lispinit.lisp,v 1.17 1990/12/11 18:08:55 ram Exp $
 ;;;
 ;;; Initialization stuff for CMU Common Lisp, plus some other random functions
 ;;; that we don't have any better place for.
@@ -525,6 +525,8 @@
   (print-and-call package-init)
   (print-and-call kernel::signal-init)
   (setf (alien-access (alien-value internal_errors_enabled)) t)
+  (set-floating-point-modes :traps '(:overflow :underflow :invalid
+					       :divide-by-zero))
 
   (%primitive print "Done initializing.")
 
-- 
GitLab