Skip to main content

pow

Function pow 

Source
pub fn pow(base: f64, exponent: f64) -> f64
Expand description

PHP $base ** $exponent (and pow()) of floats, or of a float and an integer: the C library’s pow, which on the dev image (Alpine) is musl’s. Ported bit for bit, so the last digit matches PHP’s on every platform, where the platform’s own pow (or a correctly rounded one) can differ.