The only reasonable way to compare rationals is the decimal expansion of the string.
https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accu...
Careful, someone is liable to throw this in an LLM prompt and get back code expanding the ASCII characters for string values like "1/346".
pestatije•6d ago
stronglikedan•1h ago