#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
+
Create new post
Create new blog
Add your blog
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Naively computing sine
·
John Cook
·
June 9, 2025, 2:06 p.m.
Computing
Math
numerical methods
Sine Function
software development
mathematics
Summary
The blog discusses naively implementing the sine function using Taylor series, questioning the adequacy of a 20-term approximation and hinting at deeper insights about numerical methods in computing sine.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
Why does is_positive for a integer return false for 0?
Users Rust Lang ·
Nov 24, 2026
programming
Rust
Verifying Fortran code with Lean
Fortran Lang Discourse ·
Nov 23, 2026
Fortran
lean
Naively summing an alternating series
John Cook ·
Jun 3, 2026
Computing
numerical methods
Knowing about things is cheaper than knowing things
Hillel Wayne ·
May 28, 2026
programming
mathematics
Part 5: NaN, Infinity and the Rules of Weird Math
Palak Mathur ·
Dec 25, 2025
Java
floating point
Nix Logarithmic Math Library from Ground Zero
Lan Tian's Test Area ·
May 20, 2025
Nix
mathematics
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.