method f32.sin
The sine of x radians.
Example:
fn main() io {
let x: f32 = 0.0
print("{x.sin()}")
}Output
0.0
pub(api) fn sin() -> f32Complexity. O(1).
Since. 1.0.0-beta
Returns
f32
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/numbers.oxl:4303