Skip to content
Snippets Groups Projects
Commit 473a725d authored by rtoy's avatar rtoy
Browse files

Oops. DERIVE-TYPE optimizer for EXPT was returning invalid type

specifiers.

To see this, try the following:

(defun foo (x)
  (declare (type (real 0) x))
  (expt 2 x))

(compile 'foo)

(describe 'foo)

You get error that 0 is not an appropriate type for a double-float specifier.
parent bf305347
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment