Home         What's New         Contact Us         Jump Start         People    



This page in PDF

Floating Point Code

As mentioned, the floating point package is a hack of newlib distributed with Linux. Code wasn't modified, but header files were collected from many Linux directories and mashed into four header files. C files were only modified to include the header files from the library directory.

Header files include:

  • fdlibm.h
  • float.h
  • types.h
  • zmath.h

Enough single precision code files we collected and compiled to be able to use basic floating point operations including powf to raise a value to a non-integer exponent.

Float C files include:

  • s_mathcnst.c
  • sf_fabs.c
  • sf_frexp.c
  • sf_ldexp.c
  • sf_logarithm.c
  • sf_numtest.c
  • sf_exp.c
  • sf_fmod.c
  • sf_ispos.c
  • sf_log.c
  • sf_modf.c
  • sf_pow.c