File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ macro_rules! no_mangle {
16
16
}
17
17
}
18
18
19
+ #[ cfg( not( target_os = "windows" ) ) ]
19
20
no_mangle ! {
20
21
fn acos( x: f64 ) -> f64 ;
21
22
fn asin( x: f64 ) -> f64 ;
@@ -31,19 +32,13 @@ no_mangle! {
31
32
fn log10f( x: f32 ) -> f32 ;
32
33
fn log( x: f64 ) -> f64 ;
33
34
fn logf( x: f32 ) -> f32 ;
34
- fn fmin( x: f64 , y: f64 ) -> f64 ;
35
- fn fminf( x: f32 , y: f32 ) -> f32 ;
36
- fn fmax( x: f64 , y: f64 ) -> f64 ;
37
- fn fmaxf( x: f32 , y: f32 ) -> f32 ;
38
35
fn round( x: f64 ) -> f64 ;
39
36
fn roundf( x: f32 ) -> f32 ;
40
37
fn rint( x: f64 ) -> f64 ;
41
38
fn rintf( x: f32 ) -> f32 ;
42
39
fn sin( x: f64 ) -> f64 ;
43
40
fn pow( x: f64 , y: f64 ) -> f64 ;
44
41
fn powf( x: f32 , y: f32 ) -> f32 ;
45
- fn fmod( x: f64 , y: f64 ) -> f64 ;
46
- fn fmodf( x: f32 , y: f32 ) -> f32 ;
47
42
fn acosf( n: f32 ) -> f32 ;
48
43
fn atan2f( a: f32 , b: f32 ) -> f32 ;
49
44
fn atanf( n: f32 ) -> f32 ;
@@ -75,8 +70,10 @@ no_mangle! {
75
70
fn cbrtf( n: f32 ) -> f32 ;
76
71
fn hypotf( x: f32 , y: f32 ) -> f32 ;
77
72
fn tanf( n: f32 ) -> f32 ;
73
+
78
74
fn sqrtf( x: f32 ) -> f32 ;
79
75
fn sqrt( x: f64 ) -> f64 ;
76
+
80
77
fn ceil( x: f64 ) -> f64 ;
81
78
fn ceilf( x: f32 ) -> f32 ;
82
79
fn floor( x: f64 ) -> f64 ;
You can’t perform that action at this time.
0 commit comments