Skip to content

Commit

Permalink
Hyphen in x-bit float
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Sep 6, 2024
1 parent 2405064 commit a277d08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }

[features]
default = ["24bits", "50bits", "libm"]
# Enables the function versions with 50 bits of accuracy on 64 bit floats.
# Enables the function versions with 50 bits of accuracy on 64-bit floats.
50bits = []
# Enables the function versions with 24 bits of accuracy on 64 bit floats, as well as the implementation on 32 bit floats.
# Enables the function versions with 24 bits of accuracy on 64-bit floats, as well as the implementation on 32-bit floats.
24bits = []
# Uses [Estrin's scheme](https://en.wikipedia.org/wiki/Estrin's_scheme) to evaluate the polynomials in the rational functions.
# While this results in more assembly instructions, they are mostly independent of each other,
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ assert_abs_diff_eq!(mln4, -f32::ln(4.0));
//!
//! ## Features
//!
//! `50bits` *(enabled by default)*: enables the function versions with 50 bits of accuracy on 64 bit floats.
//! `50bits` *(enabled by default)*: enables the function versions with 50 bits of accuracy on 64-bit floats.
//!
//! `24bits` *(enabled by default)*: enables the function versions with 24 bits of accuracy on 64 bit floats,
//! as well as the implementation on 32 bit floats.
//! `24bits` *(enabled by default)*: enables the function versions with 24 bits of accuracy on 64-bit floats,
//! as well as the implementation on 32-bit floats.
//!
//! You can disable one of the above features to potentially save a little bit of binary size.
//!
Expand Down

0 comments on commit a277d08

Please sign in to comment.