Skip to content

nicolas-cellier-aka-nice/fdlibm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdlibm

fdlibm from www.netlib.org/fdlibm/

The goal of this fork is to perform minimal changes to fdlibm so that it can be compiled on modern C/C++ compiler

The main problem of legacy fdlibm is that it uses pointer aliasing for accessing the bits of floating point representation. In modern C compilers, this is undefined behavior. One possible work around is to use -fno-strict-aliasingcompiler flag, but a better fix is to not use pointer aliasing at all.

Another minor problem is that intel 64 bit architectures are not recognized as little endian as they should. Some header must be fixed.

Releases

No releases published

Packages

No packages published

Languages

  • C 97.3%
  • Makefile 2.7%