#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
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
cos(200!)
1
·
John Cook
·
Aug. 7, 2026, 1:50 p.m.
Computing
Python
programming techniques
Large Numbers
Computation
Summary
This post discusses the limitations of Python's math library in calculating the cosine of extremely large numbers, specifically using the example of 200!. It serves as a follow-up to a previous discussion on logarithmic calculations in Python.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
A is for assert - Python A to Z
Juha-Matti Santala ·
Aug 2, 2026
Python
Debugging
An Advanced Guide to Python f-strings (Beyond the Basics)
Ahmed Nabil ·
Jun 3, 2026
Python Basics
Best Practices
Computing sine and cosine of complex arguments with only real functions
John Cook ·
Mar 27, 2026
Math
Complex Analysis
Unpacking with * and **: How to Call Functions with Lists and Dictionaries
Ahmed Nabil ·
Mar 2, 2026
Python Basics
args
How to Implement the Observer Pattern in Python
freeCodeCamp.org ·
Feb 18, 2026
Python
Design Patterns
Reverse a List (without using reverse())
Vicente G. Reyes ·
Dec 22, 2025
Python
beginners
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google