Function: math-C-parse-fma
math-C-parse-fma is a byte-compiled function defined in
calc-lang.el.gz.
Signature
(math-C-parse-fma F VAL)
Documentation
Parse C's fma function fma(x,y,z) => (x * y + z).
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-lang.el.gz
(defun math-C-parse-fma (_f _val)
"Parse C's fma function fma(x,y,z) => (x * y + z)."
(let ((args (math-read-expr-list)))
(math-read-token)
(list 'calcFunc-add
(list 'calcFunc-mul
(nth 0 args)
(nth 1 args))
(nth 2 args))))