Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment pow

std/ops/num::pow


Generics

◻ N: Pow

Parameters

↳ var exp: u32

Inputs

⇥ value: Stream<N>

Outputs

↦ pow: Stream<N>


Compute exponent of streamed values

This treatment is infaillible but output may overflow if valueᵉˣᵖ is out of bounds for the data type.