]> git.proxmox.com Git - rustc.git/blame - src/libstd/sys/sgx/cmath.rs
New upstream version 1.42.0+dfsg0+pve1
[rustc.git] / src / libstd / sys / sgx / cmath.rs
CommitLineData
0731742a
XL
1#![cfg(not(test))]
2
3// These symbols are all defined in `compiler-builtins`
d9bb1a4e 4extern "C" {
0731742a
XL
5 pub fn acos(n: f64) -> f64;
6 pub fn acosf(n: f32) -> f32;
7 pub fn asin(n: f64) -> f64;
8 pub fn asinf(n: f32) -> f32;
9 pub fn atan(n: f64) -> f64;
10 pub fn atan2(a: f64, b: f64) -> f64;
11 pub fn atan2f(a: f32, b: f32) -> f32;
12 pub fn atanf(n: f32) -> f32;
13 pub fn cbrt(n: f64) -> f64;
14 pub fn cbrtf(n: f32) -> f32;
15 pub fn cosh(n: f64) -> f64;
16 pub fn coshf(n: f32) -> f32;
17 pub fn expm1(n: f64) -> f64;
18 pub fn expm1f(n: f32) -> f32;
19 pub fn fdim(a: f64, b: f64) -> f64;
20 pub fn fdimf(a: f32, b: f32) -> f32;
21 pub fn hypot(x: f64, y: f64) -> f64;
22 pub fn hypotf(x: f32, y: f32) -> f32;
23 pub fn log1p(n: f64) -> f64;
24 pub fn log1pf(n: f32) -> f32;
25 pub fn sinh(n: f64) -> f64;
26 pub fn sinhf(n: f32) -> f32;
27 pub fn tan(n: f64) -> f64;
28 pub fn tanf(n: f32) -> f32;
29 pub fn tanh(n: f64) -> f64;
30 pub fn tanhf(n: f32) -> f32;
31}