rust ffast-math (defunct, use lower)
Diffstat (limited to 'src/trait.rs')
-rw-r--r--src/trait.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trait.rs b/src/trait.rs
index 96e19c9..74b0a5a 100644
--- a/src/trait.rs
+++ b/src/trait.rs
@@ -10,7 +10,7 @@ macro_rules! meth {
}
impl FastFloat for f32 {
- $(unsafe fn $name(a: Self, b: Self) -> Self {
+ $(#[inline(always)] unsafe fn $name(a: Self, b: Self) -> Self {
$name(a, b)
})+
@@ -19,7 +19,7 @@ macro_rules! meth {
}
impl FastFloat for f64 {
- $(unsafe fn $name(a: Self, b: Self) -> Self {
+ $(#[inline(always)] unsafe fn $name(a: Self, b: Self) -> Self {
$name(a, b)
})+