mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:20:04 +00:00
gcc doesn't declare expf in std
This commit is contained in:
parent
f064b74111
commit
5de89be016
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ ProductDescriptionBlock::data_value(std::uint8_t level) const
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
f = std::expf((level - log_offset()) / log_scale());
|
f = expf((level - log_offset()) / log_scale());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue