Move FastFloat to separate crate (archival)
This commit is contained in:
1 parent
4ae5c02bb1
commit
ce2e8f17ec
5 files changed
+136
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
//! The Float type used throughout the ecosystem
|
||||
#![no_std]
|
||||
#![cfg_attr(feature = "fast-float", feature(core_intrinsics))]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
/// Type used for floats, configure with the `f32` feature
|
||||
#[cfg(feature = "f32")]
|
||||
@@ -16,8 +16,3 @@ pub mod consts {
|
||||
#[cfg(not(feature = "f32"))]
|
||||
pub use core::f64::consts::*;
|
||||
}
|
||||
|
||||
#[cfg(feature = "fast-float")]
|
||||
mod fastfloat;
|
||||
#[cfg(feature = "fast-float")]
|
||||
pub use fastfloat::FastFloat;
|
||||
Reference in new issue
Block a user