Implementing the Transcendental Functions in Ivy (commandcenter.blogspot.com) 31 points by chmaynard 5mo ago ↗ HN
[–] measurablefunc 5mo ago ↗ By definition, they can not be implemented. You can approximate them to some finite precision but you can not really implement them.
[–] HeavyStorm 5mo ago ↗ Damn, blogspot still exists! And it doesn't render well in my mobile, a product of simpler times.
[–] nickcw 5mo ago ↗ Interesting reading about the difficulties with arctan.There is a better series for arctan than the Taylor series which converges for all x. You can see it here in the accelerated series sectionhttps://en.wikipedia.org/wiki/Arctangent_seriesI wrote about it in my calculating pi blog some time agohttps://www.craig-wood.com/nick/articles/pi-machin/It also takes fewer operations which is nice.I thought it was invented by Euler but the Wikipedia article says Newton invented it and Euler popularized it.
5 comments
[ 0.16 ms ] story [ 22.0 ms ] threadThere is a better series for arctan than the Taylor series which converges for all x. You can see it here in the accelerated series section
https://en.wikipedia.org/wiki/Arctangent_series
I wrote about it in my calculating pi blog some time ago
https://www.craig-wood.com/nick/articles/pi-machin/
It also takes fewer operations which is nice.
I thought it was invented by Euler but the Wikipedia article says Newton invented it and Euler popularized it.