]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys/unsupported/cmath.rs
Auto merge of #73265 - mark-i-m:mv-std, r=Mark-Simulacrum,mark-i-m
[rust.git] / library / std / src / sys / unsupported / cmath.rs
1 // These symbols are all defined in `compiler-builtins`
2 extern "C" {
3     pub fn acos(n: f64) -> f64;
4     pub fn acosf(n: f32) -> f32;
5     pub fn asin(n: f64) -> f64;
6     pub fn asinf(n: f32) -> f32;
7     pub fn atan(n: f64) -> f64;
8     pub fn atan2(a: f64, b: f64) -> f64;
9     pub fn atan2f(a: f32, b: f32) -> f32;
10     pub fn atanf(n: f32) -> f32;
11     pub fn cbrt(n: f64) -> f64;
12     pub fn cbrtf(n: f32) -> f32;
13     pub fn cosh(n: f64) -> f64;
14     pub fn coshf(n: f32) -> f32;
15     pub fn expm1(n: f64) -> f64;
16     pub fn expm1f(n: f32) -> f32;
17     pub fn fdim(a: f64, b: f64) -> f64;
18     pub fn fdimf(a: f32, b: f32) -> f32;
19     pub fn hypot(x: f64, y: f64) -> f64;
20     pub fn hypotf(x: f32, y: f32) -> f32;
21     pub fn log1p(n: f64) -> f64;
22     pub fn log1pf(n: f32) -> f32;
23     pub fn sinh(n: f64) -> f64;
24     pub fn sinhf(n: f32) -> f32;
25     pub fn tan(n: f64) -> f64;
26     pub fn tanf(n: f32) -> f32;
27     pub fn tanh(n: f64) -> f64;
28     pub fn tanhf(n: f32) -> f32;
29 }