Home
last modified time | relevance | path

Searched refs:FloatCore (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/num-traits/src/
Dfloat.rs16 pub trait FloatCore: Num + NumCast + Neg<Output = Self> + PartialOrd + Copy { trait
749 impl FloatCore for f32 {
823 impl FloatCore for f64 {
1911 self - FloatCore::trunc(self)
1920 FloatCore::is_nan(self) -> bool;
1921 FloatCore::is_infinite(self) -> bool;
1922 FloatCore::is_finite(self) -> bool;
1923 FloatCore::is_normal(self) -> bool;
1924 FloatCore::classify(self) -> FpCategory;
1925 FloatCore::signum(self) -> Self;
[all …]
Dsign.rs4 use float::FloatCore;
116 FloatCore::abs(*self)
138 FloatCore::signum(*self)
144 FloatCore::is_sign_positive(*self)
150 FloatCore::is_sign_negative(*self)
/external/rust/crates/num-traits/
DREADME.md40 The `FloatCore` trait is always available. `MulAdd` and `MulAddAssign` for `f32`
DRELEASES.md136 - [The `no_std` implementation of `FloatCore::to_degrees` for `f32`][61] now
169 - [The new `FloatCore` trait][32] offers a subset of `Float` for `#![no_std]` use.