Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamiPerttu committed Nov 1, 2024
1 parent aa469b4 commit c4e1e0b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,27 +468,27 @@ impl Float for f32 {

#[inline(always)]
fn tan(self) -> Self {
self.tan()
libm::tanf(self)
}

#[inline(always)]
fn exp(self) -> Self {
self.exp()
libm::expf(self)
}

#[inline(always)]
fn sin(self) -> Self {
self.sin()
libm::sinf(self)
}

#[inline(always)]
fn cos(self) -> Self {
self.cos()
libm::cosf(self)
}

#[inline(always)]
fn sqrt(self) -> Self {
self.sqrt()
libm::sqrtf(self)
}

#[inline(always)]
Expand Down Expand Up @@ -544,27 +544,27 @@ impl Float for f64 {

#[inline(always)]
fn tan(self) -> Self {
self.tan()
libm::tan(self)
}

#[inline(always)]
fn exp(self) -> Self {
self.exp()
libm::exp(self)
}

#[inline(always)]
fn sin(self) -> Self {
self.sin()
libm::sin(self)
}

#[inline(always)]
fn cos(self) -> Self {
self.cos()
libm::cos(self)
}

#[inline(always)]
fn sqrt(self) -> Self {
self.sqrt()
libm::sqrt(self)
}

#[inline(always)]
Expand Down

0 comments on commit c4e1e0b

Please sign in to comment.