Question: signum(0,abs(zero),0) gives 1

signum(0, abs(x), 0);
                       signum(0, |x|, 0)

signum(0, abs(tan(Pi/5)-sqrt(5-2*sqrt(5))), 0);
                               1

The second one should give 0 or return unevaluated.

 

Please Wait...