c-ohle / RationalNumerics

.NET library for rational arithmetic based on a stack machine.
MIT License
47 stars 3 forks source link

incorrect values in trigonometry functions Asin and Acos #10

Closed spin973 closed 1 year ago

spin973 commented 1 year ago

I noticed some values returned by arc trigonometry functions are not correct:

Asin(1) return 0 instead of 1.570796 rad (90°) Acos(0) return 0 instead of 1.570796 rad (90°)

c-ohle commented 1 year ago

Hi, Thanks for the bug report. I'll fix that soon.

spin973 commented 1 year ago

Thank you very much.

c-ohle commented 1 year ago

fixed