mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Updated an old powf() call.
This commit is contained in:
parent
ef1f2e6094
commit
ebddea7765
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ public:
|
|||
static Type decibelsToGain (const Type decibels,
|
||||
const Type minusInfinityDb = (Type) defaultMinusInfinitydB)
|
||||
{
|
||||
return decibels > minusInfinityDb ? powf ((Type) 10.0, decibels * (Type) 0.05)
|
||||
return decibels > minusInfinityDb ? std::pow ((Type) 10.0, decibels * (Type) 0.05)
|
||||
: Type();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue