809
IEEE 754
(cdn.fosstodon.org)
Post funny things about programming here! (Or just rant about your favourite programming language.)
You could choose a subset of fractions, though, and then round it to the nearest one. Maybe you could use powers of two as the denominator for easy hardware implementation. Oh wait, we've just reinvented floats.