The Linux Kernel has math coprocessor emulation (mainly floating point stuff) that can be enabled if your CPU doesn't include it. This was common with consumer CPUs in the 1990s and some embedded CPUs today.
Link here, although I'm sure it existed well before 2.6.12
Link here, although I'm sure it existed well before 2.6.12
https://www.kernelconfig.io/config_math_emulation