Recent comments in /f/killallgames

twovests OP wrote

I never even considered time in a server or the whole mess of floats in emulators. I hope to dink nobody is using floats for time.

I also haven't considered about probabilities getting outside the bound of 1, but I still reserve my right to be angery at floats here. grrr floats.

I also have not considered rational numbers, because, wow, they sound very satisfying, and also even less supported, and I want to be their friends, where can I use them,

1

Moonside wrote

They represent real limitations for games (not really, but let's pretend)

They do, actually, if they're used for tracking time. If the game runs long enough (very possible in server-based online games), the physics increasingly start to go wonkier as the simulation becomes less and less fine-grained.

They're susceptible to flaws (different hardware might do different fast float maths - bad for speedruns, maybe? but also not a big deal at all)

It makes things more difficult for emulators, also in subtler ways like different kinds of conventions for rounding. I do wonder if these could be accounted for somehow, there are computations for which accuracy, reproducibility, making sense on a semantic level and so on are importanter than the pursuit of SPEED.

Other places we see floating points where fixed points could work just as well:

  • Anything dealing with percentages (likely bounded 0 to 1, or 0 to 100.)

I do wonder how well that actually works. While for probabilities it is always the case that for any event X, 0 ≤ P(X) ≤ 1, you can have steps in calculations that go out of these bounds. For example, 0 ≤ P(AB) = P(A) + P(B) - P(AB) ≤ 1, but if P(A) = P(B) = 1 then we'll have P(AB) = 1 + 1 - 1 = 2 - 1 = 1, where of course 2 > 1.

Also my shout out to humble rational numbers: the opportunities for using them are rare, too rare perhaps, but you feel clean like after having a bath when you do get to use them.

2

twovests OP wrote

Ugh I had a comment mostly written and then I replied to toasthaste and it got deleted ;v;

Basically, yeah there has to be some mechanic to adjust or change the rates, else it's logically equivalent to one clock. They can take on any real value >= 0 (and, tbh they could go backwards too just as easily). In my platforming idea you'd probably just switch between the two clocks.

4

toasthaste wrote

the new one is so cute! I really like the swooshy curly style of fur and such I've seen from modern WoW stuff

2