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