davidedc/Algebrite

Common inverse trig calls not simplifiying

dv-brianmickel opened this issue · 1 comments

I would expect calls to simplify() of following trig expressions to result in the fraction expression of pi.

  • arcsin(sqrt(3)/2) -> Expected: pi/3, Actual: arcsin(1/2*3^(1/2))
  • arcsin(-sqrt(3)/2) -> Expected: -pi/3, Actual: arcsin(-1/2*3^(1/2))
  • arccos(sqrt(3)/2) -> Expected: pi/6, Actual: arccos(1/2*3^(1/2))
  • arccos(-sqrt(3)/2) -> Expected: 5pi/6, Actual: arccos(-1/2*3^(1/2))

Looks like this is a duplicate of #75