Build 55460 - 64-bit
Function pow(x) with a negative number does not handle the sign correctly.
Currently function behaves like this: -2 ^ 2 = -4
Build 55460 - 64-bit
Function pow(x) with a negative number does not handle the sign correctly.
Currently function behaves like this: -2 ^ 2 = -4
This is tscript? I’m not seeing this. Can you post the exact expression you are using?
Function CHOP
So it looks like we’ve made a decision in the past to handle negative numbers in the power functions by inverting first as a way to avoid discontinuity and dealing with imaginary numbers. I’ve updated the wiki page to reflect this: