#1170 asin(-sin(x)) not fully simplifying

closed
5
2012-12-04
2007-04-18
Stavros Macrakis
No

asin(-sin(x)) simplifies to -asin(sin(x)); resimplifying that using expand(...,0,0) gives -x.

Discussion

    • status: open --> closed
     
  • Logged In: YES
    user_id=588346
    Originator: YES

    The bug was in trigi.lisp; odd/even-function-reflect, which were constructing their result using
    (neg `((,op simp) ,(neg x))))
    which blocked the second simplification.

    Corrected in trigi.lisp 1.26 to:
    (neg (take (list op) (neg x))))