Docs/Building with code/Primitives/Math/exp2Search the docs⌘Kexp22 raised to the value.exp2(x: Val): Expr Import math from shaders/std and use math.exp2.ParametersNameTypeNotesxValExampleconst octaveScale = exp2(octave) See alsoexp — e raised to the value.Used byVoxels Previous log Next tan