(dec-digit-chars-value1 x val) → *
Function:
(defun dec-digit-chars-value1 (x val) (declare (type unsigned-byte val)) (declare (xargs :guard (dec-digit-char-list*p x))) (let ((acl2::__function__ 'dec-digit-chars-value1)) (declare (ignorable acl2::__function__)) (mbe :logic (if (consp x) (dec-digit-chars-value1 (cdr x) (+ (dec-digit-char-value (car x)) (* 10 (nfix val)))) (nfix val)) :exec (if (consp x) (dec-digit-chars-value1 (cdr x) (the unsigned-byte (+ (the (unsigned-byte 8) (- (the (unsigned-byte 8) (char-code (the character (car x)))) (the (unsigned-byte 8) 48))) (* (the unsigned-byte 10) (the unsigned-byte val))))) (the unsigned-byte val)))))