dplug v6.0.22
Dub
Repo
nextPowerOf2
dplug
core
math
Computes next power of 2.
int
nextPowerOf2
(int i)
pure nothrow @
nogc
int
nextPowerOf2
(
int
i
)
long
nextPowerOf2
(long i)
Meta
Source
See Implementation
dplug
core
math
functions
convertFrequencyToMIDINote
convertFrequencyToNormalizedFrequency
convertMIDINoteToFrequency
convertNormalizedFreqyencyToFrequency
deciBelToFloat
equalLoudnessCurve
expDecayFactor
floatToDeciBel
hermite
iFloorLog2
inverseSqrt
isEven
isOdd
isPowerOfTwo
lerp
linmap
logmap
nextPowerOf2
normalizePhase
rawSawtooth
rawSquare
rawTriangle
sinc
smoothStep
Computes next power of 2.