Comment

Comment by Isognoviastoma

√2 with floating point is obviously closest representable number. With fixed point it is obviously closest representable number as well. With rationals, you need to arbitrarily limit precision, and the point of using rational was to use exact values.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton