Get the kind (tag) of a floating-point-type structure.
(floating-point-type-kind x) → kind
Function:
(defun floating-point-type-kind$inline (x) (declare (xargs :guard (floating-point-typep x))) (let ((__function__ 'floating-point-type-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :float)) :float) (t :double)) :exec (car x))))
Theorem:
(defthm floating-point-type-kind-possibilities (or (equal (floating-point-type-kind x) :float) (equal (floating-point-type-kind x) :double)) :rule-classes ((:forward-chaining :trigger-terms ((floating-point-type-kind x)))))