If you mentioned architecture, you can get a more specific answer.
The Linux kernel still has the old IEEE-754 x87 math emulation library for i386 and i486 processors without a floating point hardware module, under arch/x86/math-emu/
There are many resources on the Internet for floating point routines implemented for PIC microcontrollers, and AVR libc has a floating point library - although it is AVR.
glibc has implementations for pow
functions in sysdeps/ieee754
. Obviously, the compiler must handle elementary floating point operators using hardware instructions or emulation / function calls.
source share