Re: Odd Complex behavior

2019-06-14 Thread yary
I like Brad's > About the only change I would even consider is to add: > constant term:<-i> = Complex.new(0,-1); and opened https://github.com/rakudo/rakudo/issues/2986 -y -y On Fri, Jun 14, 2019 at 5:52 AM Brad Gilbert wrote: > About the only change I would even consider is to add: > >

Re: Odd Complex behavior

2019-06-14 Thread Elizabeth Mattijsen
True. Forget that idea then :-) > On 14 Jun 2019, at 13:27, Timo Paulssen wrote: > > That sounds like a recipe for even more confusion further down the road; now > whether you get a -0-i or a 0-i out of your bag depends on which one of the > two was put in first, and the difference between 0

Re: Odd Complex behavior

2019-06-14 Thread Brad Gilbert
About the only change I would even consider is to add: constant term:<-i> = Complex.new(0,-1); On Fri, Jun 14, 2019 at 6:27 AM Timo Paulssen wrote: > > That sounds like a recipe for even more confusion further down the road; > now whether you get a -0-i or a 0-i out of your bag depends on wh

Re: Odd Complex behavior

2019-06-14 Thread Timo Paulssen
That sounds like a recipe for even more confusion further down the road; now whether you get a -0-i or a 0-i out of your bag depends on which one of the two was put in first, and the difference between 0 and -0 surely makes a difference in enough cases when doing floating point math that it wou