Post #1772318
2025-12-02 17:11 UTC
@marcedwards Yes correct. My reaction was to your initial statements:
“They’re also full of rounding errors, which makes me thing they were generated by a tool.”
Not errors, and yes plist files are not intended to be hand authored and will generally go through a check / formatting step.
“A human probably typed 0.033 and 0.45, and rounding errors caused the issue in the screenshot.”
This is not true because they are not errors / issues.
Apologies for being a reply-guy! 🙈
Replies (1)
-
@marcedwards@mastodon.social 2025-12-02 23:55
@eelco All good! I didn’t choose the best way to describe it. Is there a better phrase? “Impossible values to be represented by a double” is probably better? I guess the value was still rounded to the closest it can be, so… that is a rounding error of sorts? You may know this, but there’s float to string conversion libraries that don’t have this issue.