newRPL: [UPDATED April 27-2017] Firmware for testing available for download
|
06-03-2016, 08:16 AM
(This post was last modified: 06-03-2016 01:01 PM by JoJo1973.)
Post: #283
|
|||
|
|||
RE: newRPL: [UPDATED May-06-16] Firmware for testing available for download
(06-03-2016 02:21 AM)Claudio L. Wrote: It could work, though I haven't thought about it in depth. So a complex infinity would be shown on the stack as (∞,∞)? Or perhaps it should be (∞, NaN), in other words: infinite magnitude, but unknown direction. Or perhaps it should be a polar complex? (∞, ∡0.5r). EDIT: Rephrasing and clarification Well, (-1,0)*∞ was not intended by me as trick to manipulate infinite quantities, but just a way to represent them internally. On the stack the only thing the user should see is "+∞", "-∞" or "∞". For directed infinities, the polar notation (∞, ∡45°) is very expressive and compact; for rectangular notation one could display "(...)∞" (i.e. "(3-4i)∞"). I don't want to seem to push my own ramblings on your project (if I had the technical expertise I could at least contribute with code and not with words!) but, just for the sake of discussion, have you considered to give to infinities and NaN's the "angle treatment" i.e. promote them to full fledged objects? After all:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)