Optimize various mathematical packet ops

Reference issue

Fixes #2599 (closed)

What does this implement/fix?

  • fixed atan(-0) = -0.
  • fixed binary pow = -0 issues
  • optimized atan2
  • optimized acos, use new polynomial that is symmetric about 0
  • added signbit (ignoring nan) test for binary pow, atan2, and unary pow -- all of which pass now

Additional information

Edited by Charles Schlosser

Merge request reports

Loading