cfloat: Add compatibility wrappers for some C99 functions.
commitf4b9cf3beffbcc51b5506a92afa4b7dfb82990ba
authorNick Bowler <nbowler@draconx.ca>
Thu, 28 Jan 2010 02:16:49 +0000 (27 21:16 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 28 Jan 2010 15:33:17 +0000 (28 10:33 -0500)
tree14082817243824508f0f226f7c096a12c55380b8
parent5094a6cc10102e852ccb1b33044cc6c98e1a430f
cfloat: Add compatibility wrappers for some C99 functions.

Commit 784199fac50d52ee5388abd4757c70892646f02a upstream.

It was reported that some C99 math functions are not present on FreeBSD.
Some of those functions can be implemented "well enough" fairly easily,
and whether or not to build them can be controlled by autoconf.

These implementations are very simple, and in some cases don't satisfy
the all the requirements of the C99 standard.
altfloat.cabal
c99-compat.c [new file with mode: 0644]
configure.ac