mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 07:12:26 -08:00
Removed old inliner forms for +,-,/,*
This commit is contained in:
parent
4fdfb82cec
commit
c28575289b
1 changed files with 0 additions and 33 deletions
|
|
@ -429,39 +429,6 @@
|
|||
|
||||
;; file num_arith.d
|
||||
|
||||
(def-inline + :always (t t) t "ecl_plus(#0,#1)")
|
||||
(def-inline + :always (fixnum-float fixnum-float) :double
|
||||
"(double)(#0)+(double)(#1)" :exact-return-type t)
|
||||
(def-inline + :always (fixnum-float fixnum-float) :float
|
||||
"(float)(#0)+(float)(#1)" :exact-return-type t)
|
||||
(def-inline + :always (fixnum fixnum) :fixnum "(#0)+(#1)" :exact-return-type t)
|
||||
|
||||
(def-inline - :always (t) t "ecl_negate(#0)")
|
||||
(def-inline - :always (t t) t "ecl_minus(#0,#1)")
|
||||
(def-inline - :always (fixnum-float fixnum-float) :double
|
||||
"(double)(#0)-(double)(#1)" :exact-return-type t)
|
||||
(def-inline - :always (fixnum-float fixnum-float) :float
|
||||
"(float)(#0)-(float)(#1)" :exact-return-type t)
|
||||
(def-inline - :always (fixnum fixnum) :fixnum "(#0)-(#1)" :exact-return-type t)
|
||||
(def-inline - :always (fixnum-float) :double "-(double)(#0)" :exact-return-type t)
|
||||
(def-inline - :always (fixnum-float) :float "-(float)(#0)" :exact-return-type t)
|
||||
(def-inline - :always (fixnum) :fixnum "-(#0)" :exact-return-type t)
|
||||
|
||||
(def-inline * :always (t t) t "ecl_times(#0,#1)")
|
||||
(def-inline * :always (fixnum-float fixnum-float) :double
|
||||
"(double)(#0)*(double)(#1)" :exact-return-type t)
|
||||
(def-inline * :always (fixnum-float fixnum-float) :float
|
||||
"(float)(#0)*(float)(#1)" :exact-return-type t)
|
||||
(def-inline * :always (fixnum fixnum) t "_ecl_fix_times_fix(#0,#1)" :exact-return-type t)
|
||||
(def-inline * :always (fixnum fixnum) :fixnum "(#0)*(#1)" :exact-return-type t)
|
||||
|
||||
(def-inline / :always (t t) t "ecl_divide(#0,#1)")
|
||||
(def-inline / :always (fixnum-float fixnum-float) :double
|
||||
"(double)(#0)/(double)(#1)" :exact-return-type t)
|
||||
(def-inline / :always (fixnum-float fixnum-float) :float
|
||||
"(float)(#0)/(float)(#1)" :exact-return-type t)
|
||||
(def-inline / :always (fixnum fixnum) :fixnum "(#0)/(#1)" :exact-return-type t)
|
||||
|
||||
(def-inline 1+ :always (t) t "ecl_one_plus(#0)")
|
||||
(def-inline 1+ :always (double-loat) :double "(double)(#0)+1")
|
||||
(def-inline 1+ :always (single-float) :float "(float)(#0)+1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue