Fix a small nit noted by bde: exp_x should be of type float, not double.
This commit is contained in:
parent
b7e83566eb
commit
6e3ab4e1b3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230371
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user