Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

bool returns false with arcsin(x) and 2*arctan(x/(1+sqrt(1-x^2)))

The two expression should be equal but when I write bool(arcsin(x) == 2*arctan(x/(1+sqrt(1-x^2)))) it returns false.

Any clue - Why it does that? Any get around?

bool returns false with arcsin(x) and 2*arctan(x/(1+sqrt(1-x^2)))

The two expression should be equal but when I write bool(arcsin(x) == 2*arctan(x/(1+sqrt(1-x^2)))) it returns false.

Any clue - Why it does that? Any get around?