OSDN Git Service

math: ilogb cleanup
authorSzabolcs Nagy <nsz@port70.net>
Mon, 2 Sep 2013 23:33:20 +0000 (23:33 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Thu, 5 Sep 2013 11:30:07 +0000 (11:30 +0000)
commit4cec31fc23b28271a2ed0b290e65699dffac3fee
tree82d7775f198079ec26ecc35eba4aa7e7d32b6c36
parentaf5f6d9556441487e5c66a7a4cfeddf4ed354aa7
math: ilogb cleanup

* consistent code style
* explicit union instead of typedef for double and float bit access
* turn FENV_ACCESS ON to make 0/0.0f raise invalid flag
* (untested) ld128 version of ilogbl (used by logbl which has ld128 support)
src/math/ilogb.c
src/math/ilogbf.c
src/math/ilogbl.c