Menu

#1142 pow error with negative numbers

v0.43
open
nobody
None
5
2014-08-16
2014-04-25
Anonymous
No

Whereas [pow] works fine with positive numbers, I found that a simple patch like:

[-2(
|
[pow 2]

|

produces a wrong output (0).

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2014-04-25
     
  • IOhannes m zmölnig

    according to it's help patch "pow only works for nonnegative mantissas".

    so it's not really a bug (as in "unexpected behaviour"), is it?

     

Anonymous
Anonymous

Add attachments
Cancel