logoalt Hacker News

hoten • 04/23/2025 • 1 reply • view on HN

for real. The author clearly never heard of fmod


Replies

zerd • 04/24/2025

fmod takes in the order of 30+ cycles, probably more in year 2003 CPUs, vs 1 for cmp, 1 for sub, 1 for jmp.

➕ show 1 reply