Ancestors

Toot

Written by Jon Valdés on 2024-12-26 at 15:34

Thinking about random math things... I wonder if someone has studied the number theory gap between regular numbers and IEEE 754 numbers.

Things like: which prime number theorems do not hold in general, but do hold for 32 or 64 bit floats?

Or, do complex numbers have some nifty extra properties in IEEE 754 that do not hold for normal numbers?

=> More informations about this toot | More toots from jon_valdes@mastodon.gamedev.place

Descendants

Written by Jon Valdés on 2024-12-27 at 21:38

Just found a (pretty dumb) one for 32 bit uints. All Fermat numbers are primes in the U32 range:

https://en.wikipedia.org/wiki/Fermat_number

The first Fermat number that isn't a prime is 2^32 + 1. So, by quite a narrow margin, all the u32 Fermat numbers are primes :)

=> More informations about this toot | More toots from jon_valdes@mastodon.gamedev.place

Written by JonOlick on 2024-12-29 at 02:22

@jon_valdes that’s handy!

=> More informations about this toot | More toots from JonOlick@mastodon.gamedev.place

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113719856178623431
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
252.352597 milliseconds
Gemini-to-HTML Time
0.603508 milliseconds

This content has been proxied by September (3851b).