method f32.pow
x raised to the power o.
Example:
fn main() io {
let x: f32 = 2.0
print("{x.pow(10.0)}")
}Output
1024.0
pub(api) fn pow(o: f32) -> f32Complexity. O(1).
Since. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
o | f32 |
Returns
f32
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/numbers.oxl:4455