this post was submitted on 05 Aug 2023
-16 points (19.2% liked)

Programming

16971 readers
194 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 1 year ago (1 children)

In elementary school, I learned that the round numbers ended with 0. As I progressed, I came to realize that this was equivalent to saying that round numbers are integer-multiples of 10.

Now that you're asking the question, I would generalize that, so that round numbers are multiples of the base.

In binary (converted to decimal), that would be 2, 4, 6, 8, ...

In octal (converted to decimal)l, that would be 8, 16, 24, 32, ...

... and so on.

I also have no problem with negative round numbers.

It strikes me that 0 seems to be a canonical round number in that it's a round number regardless of base.

I wouldn't object if you were to say that round numbers are integer powers of the base (10, 100, 1000, ... for decimal). If your definition doesn't include 0, then I'll expect a good explanation for why not.

But, truth be told, I could learn to live with any definition I can wrap my head around, as long as I can use my elementary school definition in polite company. :)

[โ€“] [email protected] 2 points 1 year ago

Well with Arabic numerals, zero is also the most physically round. :)