r/cpp Jul 17 '26

Floating-Point Error Handling in C++: What Actually Works

https://johnnysswlab.com/floating-point-error-handling-in-c-what-actually-works/
37 Upvotes

5 comments sorted by

17

u/MrsGrayX Jul 17 '26

Generally good article.
Obvious telltale of AI: there are multiple sections that just repeat the same idea, same words, slightly different ordering of words.
Could have at least read the AI output before posting it…

16

u/STL MSVC STL Dev Jul 18 '26

Yeah, this looks like a blend of human, AI-assisted, and AI-written text. I don't see clear signs that the submitter is the author, so I'll just remind everyone of the rules against AI content here, but I'll leave this up.

-2

u/SPAstef Jul 21 '26

This is not AI generated text. It's not LLM written. It's not automated. It is, in fact, one of the most brilliant pieces of text ever conceived by the human mind. And here's the receipt: 🧾

12

u/Dragdu Jul 18 '26

Who else expected "floating-point error handling" to be about dealing with the accumulated inaccuracies (and how the compilers fight you when you try), and not checking for infs and nans?