Rho Rho language and toolchain

std.math.fast

The module module std.math.fast, read from deploy/std/math/fast.rho. This page is generated from the source, so it describes what the code declares.

Functions

fast_atan2()

fn fast_atan2(y: f64, x: f64) f64

fast_cos()

fn fast_cos(x: f64) f64

fast_sin()

fn fast_sin(x: f64) f64

fast_sqrt()

fn fast_sqrt(x: f64) f64

Externs

Externs are supplied by the host rather than declared in Rho, which is how a port reaches a service.

ExternSignature
c_atan2extern fn c_atan2(y: f64, x: f64) f64
c_cosextern fn c_cos(x: f64) f64
c_sinextern fn c_sin(x: f64) f64
c_sqrtextern fn c_sqrt(x: f64) f64