2 ms·
> I always wondered why these aren't part of the FPU command set, or at least part of modern programming languages They are a part of modern (and not-so-modern
by mkl 9y ago
> I always wondered why these aren't part of the FPU command set, or at least part of modern programming languages
They are a part of modern (and not-so-modern) programming languages (% in Python, Rust, etc.). Even C from quarter of a century ago supports them (fmod). There are also at least two CPU instructions on x86, fprem and fprem1.