Use single-precision math functions when available
commit9ab220345679662118e107d9879e563dc1546578
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 24 May 2015 13:49:08 +0000 (24 15:49 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 24 May 2015 22:25:57 +0000 (24 23:25 +0100)
tree7cdcaaf09a1cc2ad6816b837649570d7f0a84092
parentd28edde23e957920db47f3f8a86d099ed912a1ae
Use single-precision math functions when available

Since C99 we have floating point functions available for single precision,
so as it is what we need we detect them (configure) and use them when
appropriate. The goal is to avoid unnecessary float->double + double->float
conversion.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
m4/wm_libmath.m4
src/actions.c