Skip to content
Snippets Groups Projects
Commit e22d22a8 authored by dtc's avatar dtc
Browse files

Update from Raymond Toy:

Fixed small bug in elfun-derive-type-1: When a complex number is
passed in, we don't want to just copy that as the result.  We want the
same type of complex number but with no bounds included.

New function float-or-complex-type to compute the union type (or float
(complex float)) with the appropriate type of float and bounds, if
needed.

At the end compiler/float-tran.lisp, the derive-type optimizers for
sin, cos, and tan, are never enabled, because of a misspelling of
propagate-fun-type (was progagate-fun-type). Plus a few fixes for
these.

Added expt derive-type optimizer, should handle all cases.

Added derive-type optimizers for conjugate and cis.
parent 7cc4661c
No related branches found
No related tags found
Loading
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