Opened 13 years ago
Closed 13 years ago
#953 closed enhancement (fixed)
Numbers-egg version of signum should accept complex numbers
| Reported by: | johnwcowan | Owned by: | sjamaan |
|---|---|---|---|
| Priority: | major | Milestone: | someday |
| Component: | extensions | Version: | 4.8.x |
| Keywords: | Cc: | ||
| Estimated difficulty: |
Description
Common Lisp defines signum on a non-real number as returning a complex number whose angle is the same as the angle of the argument but whose magnitude is 1. This degenerates to the standard definition for real numbers.
No change is needed to the standard version.
Change History (2)
comment:1 by , 13 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in revision [27997]. Thanks for pointing this out!
I haven't tagged a release yet since this seems pretty trivial, so this is available only in trunk right now. It will appear in the next release though!