| There's no such thing as a "binary" or "decimal" number. In the real world, there are natural numbers, integers, rationals and real numbers. Computer languages are designed with types that mimic this real-world number stack. Low-level binary implementation details don't leak unless you're overflowing or using bit operations. What you're really complaining about is the fact that rationals aren't a first-class type in any popular language. With that I agree, it's a shame that corners were cut we three number types instead of four. |