General

Profile

deXterbed (Manoj Mishra)

  • Login: deXterbed
  • Registered on: 11/11/2020
  • Last sign in: 11/08/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

11/13/2020

03:43 PM Ruby Bug #17318: Raising float to the power of other issue
mame (Yusuke Endoh) wrote in #note-2:
> It is due to precedence of operators unary minus and `**`.
> ...
Thanks for the explanation Yusuke Endoh,
that still raises the question, how exactly am i supposed to calculate x**y without ending...
deXterbed (Manoj Mishra)

11/11/2020

12:34 PM Ruby Bug #17318: Raising float to the power of other issue
Formatting replaced the double * with a single * i put in the snippet above, please ignore deXterbed (Manoj Mishra)
12:31 PM Ruby Bug #17318 (Rejected): Raising float to the power of other issue
Raising a negative float to another float results in a complex number. Interestingly, doing the same thing without using variables works fine!
Sample Snippet:
$ irb
2.6.3 :001 > x=-0.4790529833050308
=> -0.4790529833050308
2.6....
deXterbed (Manoj Mishra)

Also available in: Atom