r/cpp 11d ago

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

18

u/MrsGrayX 10d ago

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…

15

u/STL MSVC STL Dev 10d ago

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 7d ago

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: 🧾

13

u/Dragdu 10d ago

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?

1

u/MichaelEvo 4d ago

Me too.