Function std::num::powf
pub fn powf<T: Float>(value: T, n: T) -> T
Raise a number to a power.
Example
use std::num; let sixteen: f64 = num::powf(2.0, 4.0); assert_eq!(sixteen, 16.0);
pub fn powf<T: Float>(value: T, n: T) -> T
Raise a number to a power.
use std::num; let sixteen: f64 = num::powf(2.0, 4.0); assert_eq!(sixteen, 16.0);
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).