m 0.1.1

A C free / pure Rust mathematical library ("libm") for `no_std` code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Bindings to libm (only for testing)

extern "C" {
    // pub fn atan(x: f64) -> f64;
    // pub fn atan2(y: f64, x: f64) -> f64;
    // pub fn sqrt(x: f64) -> f64;
    pub fn atan2f(y: f32, x: f32) -> f32;
    pub fn atanf(x: f32) -> f32;
    pub fn fabs(x: f64) -> f64;
    pub fn fabsf(x: f32) -> f32;
    pub fn sqrtf(x: f32) -> f32;
}