Vaguery / klapaucius

A clean, tested, maintainable Push interpreter written in Clojure.
MIT License
31 stars 2 forks source link

Wire up complex numbers and scalars #132

Open Vaguery opened 7 years ago

Vaguery commented 7 years ago

:scalar-sqrt already produces a complex number from a negative argument

Vaguery commented 7 years ago

May (?) want to extend :scalar-pow to produce complex results from negative scalar arguments. But then again, what do we do with multiple roots?

Would it produce the :set of roots? Or a list of them (because they may be degenerate)?