File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
6
6
## [ Unreleased]
7
7
8
+ ### Added
9
+
10
+ - atan2f
11
+ - cos
12
+ - coshf
13
+ - fmaf
14
+ - sin
15
+ - sinh
16
+ - sinhf
17
+ - tan
18
+ - tanh
19
+ - tanhf
20
+
8
21
## [ v0.1.1] - 2018-07-14
9
22
10
23
### Added
Original file line number Diff line number Diff line change @@ -150,25 +150,26 @@ use self::rem_pio2_large::rem_pio2_large;
150
150
use self :: rem_pio2f:: rem_pio2f;
151
151
152
152
#[ inline]
153
- pub fn get_high_word ( x : f64 ) -> u32 {
153
+ fn get_high_word ( x : f64 ) -> u32 {
154
154
( x. to_bits ( ) >> 32 ) as u32
155
155
}
156
156
157
157
#[ inline]
158
- pub fn get_low_word ( x : f64 ) -> u32 {
158
+ fn get_low_word ( x : f64 ) -> u32 {
159
159
x. to_bits ( ) as u32
160
160
}
161
161
162
+ #[ allow( dead_code) ]
162
163
#[ inline]
163
- pub fn with_set_high_word ( f : f64 , hi : u32 ) -> f64 {
164
+ fn with_set_high_word ( f : f64 , hi : u32 ) -> f64 {
164
165
let mut tmp = f. to_bits ( ) ;
165
166
tmp &= 0x00000000_ffffffff ;
166
167
tmp |= ( hi as u64 ) << 32 ;
167
168
f64:: from_bits ( tmp)
168
169
}
169
170
170
171
#[ inline]
171
- pub fn with_set_low_word ( f : f64 , lo : u32 ) -> f64 {
172
+ fn with_set_low_word ( f : f64 , lo : u32 ) -> f64 {
172
173
let mut tmp = f. to_bits ( ) ;
173
174
tmp &= 0xffffffff_00000000 ;
174
175
tmp |= lo as u64 ;
You can’t perform that action at this time.
0 commit comments