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
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,9 @@ 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 TypedFloat 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
-
⚠️ 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.
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.
89
90
90
91
# Traits implemented
91
92
@@ -153,7 +154,8 @@ A `panic!` triggered in any other way is considered a security bug and should be
153
154
154
155
This crate is designed to have a minimal overhead at runtime, in terms of memory, speed and binary size.
155
156
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.
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.
0 commit comments