You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,9 +84,8 @@ Most methods and traits available on the underlying type are available on the ty
84
84
85
85
Most constants are also available, with the most appropriate typed float type (except `NAN` for obvious reasons) in the [`tf64`] and [`tf32`] modules (in [`tf64::consts`] and [`tf32::consts`] respectively when the constant comes from [`core::f64::consts`] or [`core::f32::consts`]). Those modules are named that way to avoid conflicts or confusion with the primitives [`f32`] and [`f64`].
86
86
87
-
> [!WARNING]
88
-
> Like for primitives [`f32`] and [`f64`],`-0.0 == +0.0` is `true` for all types of this crate.
89
-
> To facilitate comparisons, the methods `is_positive_zero` and `is_negative_zero` are added.
87
+
⚠️ Like for primitives [`f32`] and [`f64`],`-0.0 == +0.0` is `true` for all types of this crate.
88
+
To facilitate comparisons, the methods `is_positive_zero` and `is_negative_zero` are added.
90
89
91
90
# Traits implemented
92
91
@@ -154,8 +153,7 @@ A `panic!` triggered in any other way is considered a security bug and should be
154
153
155
154
This crate is designed to have a minimal overhead at runtime, in terms of memory, speed and binary size.
156
155
157
-
> [!TIP]
158
-
> It can even be faster than using primitives [`f32`] and [`f64`] directly, as it may avoids some checks by using compiler hints and can use some faster implementations in some cases.
156
+
It can even be faster than using primitives [`f32`] and [`f64`] directly, as it may avoids some checks by using compiler hints and can use some faster implementations in some cases.
0 commit comments