Comment

Comment by Isognoviastoma

- after few operations denominator exceeds 64-bit range, so you either need bigint, or make fractions approximate, what is in affect fixed point

- often you use decimal fraction on output and input anyway

- it's slower, even slower with bigint

- no square root, sin, and so on with rationals

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton