Fix a small nit noted by bde: exp_x should be of type float, not double.

This commit is contained in:
David Schultz 2012-01-20 07:02:42 +00:00
parent b7e83566eb
commit 6e3ab4e1b3

View File

@ -44,7 +44,7 @@ static const float kln2 = 162.88958740F; /* k * ln2 */
static float
__frexp_expf(float x, int *expt)
{
double exp_x;
float exp_x;
uint32_t hx;
exp_x = expf(x - kln2);