Is there an open-source c/c++ implementation of IEEE-754 operations?

zr. picture zr. · Feb 2, 2010 · Viewed 9.8k times · Source

I am looking for a reference implementation of IEEE-754 operations. Is there such a thing?

Answer

mctylr picture mctylr · Feb 2, 2010

I believe the C libraries SoftFloat and fdlibm are suitable for what you are looking for. Others include Linux (GNU libc, glibc) or *BSD libc's math functions. Finally, CRlibm should also be of interest to you.

Ulrich Drepper has a interesting look at different math libraries, that might be also worth reading through.