Add translation for plog (using TRANSLATE-WITH-FLONUM-OP)
[maxima.git] / src / ecl-port.lisp
blob0fe3af300bf8355978f16749c9f9b3563ddc2d18
1 (in-package :maxima)
3 (eval-when (:execute)
4 (compile 'maxima::make-unspecial
5 '(lambda (s)
6 (when (symbolp s)
7 (format t "~%;;; Declaring ~A as NOT SPECIAL" s)
8 (ffi::c-inline (s) (:object) :object
9 "(#0)->symbol.stype &= ~stp_special;"
10 :one-liner nil)
11 s))))
13 (eval-when (:load-toplevel)
14 (defun maxima::make-unspecial (s)
15 (when (symbolp s)
16 (format t "~%;;; Declaring ~A as NOT SPECIAL" s)
17 (ffi::c-inline (s) (:object) :object
18 "(#0)->symbol.stype &= ~stp_special;"
19 :one-liner nil)
20 s)))
22 (si::trap-fpe 'floating-point-underflow nil)
23 (si::trap-fpe 'floating-point-overflow t)