trophy 1520
Apr 2021 132 posts
Update 26.02.25 : news/update-26-02-25
trophy 305
Aug 2021 18 posts
noice
trophy 2065
Sep 2021 14 posts
goatttttttt
trophy 2164
May 2023 5 posts
Let's Go!
trophy 1165
May 2021 6 posts
W
trophy 42
Jul 2024 1 post
W update. 🗣️🔥
trophy 415
May 2021 5 posts
Getting better every week, amazing!
trophy 400
Jul 2023 36 posts
Insanely cool, that's some great improvements !
trophy 0
Jul 2024 1 post
Coolitic 3 days ago edited 3 days ago
this won't noticeably lose precision until at least 200 days

W/ 52-bits in the significand, it would last much longer than that. At a ~1 micro-second interval (accurate enough for virtually all use-cases), a 64-bit float should last for: 2^52 / 1000 / 1000 / 60 / 60 / 24 = ~52k days.

As a small criticism, if you used integers instead of floats, it would never lose precision (it would just have a much higher hard-cap, rather than a lower "soft-cap" that gradually gets buggier).

When you need to accumulate many small amounts into a much larger amount, floating-point is simply not a good fit, because the advantage of floating-point disappears in that scenario. That's the reason that all the system-time functions across different operating-systems use integers (usually as micro- or nano-seconds). At an interval of 1 micro-second, a 64-bit unsigned integer timer would run for ~200m days.
trophy 1385
Feb 2024 43 posts
Nice to see the community also is contributing to s&box
trophy 1305
Feb 2023 4 posts
Nice.
trophy 1640
Aug 2025 1 post
It's good! 
trophy 660
Jun 2023 2 posts
Ocean When!
trophy 300
Sep 2021 7 posts
Nice work
trophy 1570
Aug 2023 5 posts
Excellent work, awesome watching this project grow
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.