Skip to content

Commit 72b3162

Browse files
authored
Revert "Readme improvements (rust-lang/crates.io#11441)"
Signed-off-by: GitHub <[email protected]>
1 parent cd8ae75 commit 72b3162

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,8 @@ Most methods and traits available on the underlying type are available on the ty
8484

8585
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`].
8686

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.
9089

9190
# Traits implemented
9291

@@ -154,8 +153,7 @@ A `panic!` triggered in any other way is considered a security bug and should be
154153

155154
This crate is designed to have a minimal overhead at runtime, in terms of memory, speed and binary size.
156155

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.
159157

160158
### Overhead
161159

0 commit comments

Comments
 (0)