News for hackers. Stuff that matters.
Re:C-style: My favorite C programming practices by teddyh on Monday May 20, 2024 @06:51AM (#40414132)
I think you used the word “panacea” incorrectly. Judging by context, I would guess that the word “band-aid” would better convey your intended meaning.
Re:C-style: My favorite C programming practices by nine_k on Monday May 20, 2024 @07:43AM (#40414420)
A "panacea" is something that cures.every illness. 64-bit floats could do just that, in the cases listed. The cost of it may be higher than one cares to pay though.

And when the cure fails to be adequate, well, it becomes a band-aid, a temporary measure in search of a real solution.

Re:C-style: My favorite C programming practices by zbentley on Monday May 20, 2024 @08:40AM (#40414822)
Perhaps "placebo" was intended?
Re:C-style: My favorite C programming practices by a1369209993 on Monday May 20, 2024 @02:08PM (#40418261)
IIUC, they're using the word itself correctly, but they mean "double precision is often used with the intent of it being a panacea".