Why does Swift not support rational numbers?

It has come up a few times before.

If the use-cases really are so limited, it is probably more appropriate to encourage people to use a package (perhaps swift-numerics, or one of the other third-party libraries you mention) rather than adding these to the standard library.

7 Likes