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