Skip to content

Commit fd8e648

Browse files
bors[bot]japaric
andcommitted
113: update CHANGELOG; make utility functions private r=japaric a=japaric Co-authored-by: Jorge Aparicio <[email protected]>
2 parents e71de04 + 7f2e0b5 commit fd8e648

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## [Unreleased]
77

8+
### Added
9+
10+
- atan2f
11+
- cos
12+
- coshf
13+
- fmaf
14+
- sin
15+
- sinh
16+
- sinhf
17+
- tan
18+
- tanh
19+
- tanhf
20+
821
## [v0.1.1] - 2018-07-14
922

1023
### Added

src/math/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,25 +150,26 @@ use self::rem_pio2_large::rem_pio2_large;
150150
use self::rem_pio2f::rem_pio2f;
151151

152152
#[inline]
153-
pub fn get_high_word(x: f64) -> u32 {
153+
fn get_high_word(x: f64) -> u32 {
154154
(x.to_bits() >> 32) as u32
155155
}
156156

157157
#[inline]
158-
pub fn get_low_word(x: f64) -> u32 {
158+
fn get_low_word(x: f64) -> u32 {
159159
x.to_bits() as u32
160160
}
161161

162+
#[allow(dead_code)]
162163
#[inline]
163-
pub fn with_set_high_word(f: f64, hi: u32) -> f64 {
164+
fn with_set_high_word(f: f64, hi: u32) -> f64 {
164165
let mut tmp = f.to_bits();
165166
tmp &= 0x00000000_ffffffff;
166167
tmp |= (hi as u64) << 32;
167168
f64::from_bits(tmp)
168169
}
169170

170171
#[inline]
171-
pub fn with_set_low_word(f: f64, lo: u32) -> f64 {
172+
fn with_set_low_word(f: f64, lo: u32) -> f64 {
172173
let mut tmp = f.to_bits();
173174
tmp &= 0xffffffff_00000000;
174175
tmp |= lo as u64;

0 commit comments

Comments
 (0)