Support expanding tabs
This commit is contained in:
parent
56812a8348
commit
3c94352f3f
9 changed files with 82 additions and 25 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#[cfg(not(feature = "std"))]
|
||||
pub use libm::{roundf, truncf};
|
||||
pub use libm::{floorf, roundf, truncf};
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
#[inline]
|
||||
pub fn floorf(x: f32) -> f32 {
|
||||
x.floor()
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue