Skip to content

Commit 7db2487

Browse files
committed
fix missing changes
1 parent 4e812e9 commit 7db2487

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ pub trait F64Ext: private::Sealed {
439439
#[cfg(todo)]
440440
fn sinh(self) -> Self;
441441

442+
#[cfg(todo)]
442443
fn cosh(self) -> Self;
443444

444445
#[cfg(todo)]
@@ -628,6 +629,7 @@ impl F64Ext for f64 {
628629
sinh(self)
629630
}
630631

632+
#[cfg(todo)]
631633
#[inline]
632634
fn cosh(self) -> Self {
633635
cosh(self)

src/math/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ macro_rules! force_eval {
99
mod ceil;
1010
mod ceilf;
1111
mod cosf;
12-
mod cosh;
1312
mod exp;
1413
mod expf;
1514
mod expm1;
@@ -44,7 +43,6 @@ mod truncf;
4443
pub use self::ceil::ceil;
4544
pub use self::ceilf::ceilf;
4645
pub use self::cosf::cosf;
47-
pub use self::cosh::cosh;
4846
pub use self::exp::exp;
4947
pub use self::expf::expf;
5048
pub use self::expm1::expm1;
@@ -76,12 +74,10 @@ pub use self::trunc::trunc;
7674
pub use self::truncf::truncf;
7775

7876
mod k_cosf;
79-
mod k_expo2;
8077
mod k_sinf;
8178
mod rem_pio2_large;
8279
mod rem_pio2f;
8380

8481
use self::{
85-
k_cosf::k_cosf, k_expo2::k_expo2, k_sinf::k_sinf, rem_pio2_large::rem_pio2_large,
86-
rem_pio2f::rem_pio2f,
82+
k_cosf::k_cosf, k_sinf::k_sinf, rem_pio2_large::rem_pio2_large, rem_pio2f::rem_pio2f,
8783
};

test-generator/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ f64_f64! {
702702
// cbrt,
703703
ceil,
704704
// cos,
705-
cosh,
705+
// cosh,
706706
exp,
707707
// exp2,
708708
expm1,

0 commit comments

Comments
 (0)