Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • $\begingroup$ I think you can't because floating-point decimal values generally do not have an exact binary representation so it gets capped. so basically you can't. $\endgroup$
    – Harry McKenzie
    Commented Jul 29, 2023 at 15:06
  • $\begingroup$ @HarryMcKenzie They have an exact binary representation, it just has a limited precision and uses a binary rather than decimal numeric system. Some aliens using a ternary numeric system on their planet (because they have 3 fingers), could be very annoyed human decimal system can't express $1 \over 3$ exactly (they would write it as $0.1$). $\endgroup$ Commented Jul 29, 2023 at 20:19