Basic constructor macro for const-float structures.
(make-const-float [:unwrap <unwrap>])
This is the usual way to construct const-float structures. It simply conses together a structure with the specified fields.
This macro generates a new const-float structure from scratch. See also change-const-float, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-const-float (&rest args) (std::make-aggregate 'const-float args '((:unwrap)) 'make-const-float nil))
Function:
(defun const-float (unwrap) (declare (xargs :guard (fconstp unwrap))) (declare (xargs :guard t)) (let ((__function__ 'const-float)) (declare (ignorable __function__)) (b* ((unwrap (mbe :logic (fconst-fix unwrap) :exec unwrap))) (cons :float (list unwrap)))))