#
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
Part 5: NaN, Infinity and the Rules of Weird Math
·
Palak Mathur
·
Dec. 25, 2025, 6:35 p.m.
Java
floating point
ieee 754
double
ieee 754
floating point
NaN
Infinity
Summary
This blog post discusses IEEE 754 floating point special values such as NaN (Not a Number) and infinity, explaining their non-standard logic and highlighting how they serve to protect against incorrect mathematical interpretations.
Read full post on systemhalted.in →
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
Knowing about things is cheaper than knowing things
Hillel Wayne ·
May 28, 2026
programming
mathematics
Naively computing sine
John Cook ·
Jun 9, 2025
Computing
Math
Nix Logarithmic Math Library from Ground Zero
Lan Tian's Test Area ·
May 20, 2025
Nix
mathematics
🔥 I don't know why I have to say this, but…
searls ·
Nov 25, 2026
llm
software development
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
.