mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue