Home
last modified time | relevance | path

Searched refs:as_f64 (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dlogarithmic.rs10 fn as_f64(&self) -> f64; in as_f64() method
18 fn as_f64(&self) -> f64 {
35 fn as_f64(&self) -> f64 {
72 linear: (range.0.start.as_f64().ln()..range.0.end.as_f64().ln()).into(), in from()
96 let value = value.as_f64(); in map()
97 let value = value.max(self.logic.start.as_f64()).ln(); in map()
103 let tier_1 = (self.logic.end.as_f64() / self.logic.start.as_f64()) in key_points()
128 let mut val = (10f64).powf(self.logic.start.as_f64().log10().ceil()); in key_points()
130 while val <= self.logic.end.as_f64() { in key_points()
136 if v > self.logic.end.as_f64() { in key_points()
/external/rust/crates/serde_json/src/lexical/
Dnum.rs58 fn as_f64(self) -> f64; in as_f64() method
91 fn as_f64(self) -> f64 {
124 as_cast_impl!(f64, as_f64);
/external/rust/crates/serde_json/src/value/
Dmod.rs644 pub fn as_f64(&self) -> Option<f64> { in as_f64() method
646 Value::Number(ref n) => n.as_f64(), in as_f64()
Dpartial_eq.rs13 value.as_f64().map_or(false, |i| i == other) in eq_f64()
/external/rust/crates/rusqlite/src/types/
Dvalue_ref.rs47 pub fn as_f64(&self) -> FromSqlResult<f64> { in as_f64() method
/external/rust/crates/serde_json/src/
Dnumber.rs206 pub fn as_f64(&self) -> Option<f64> { in as_f64() method
477 } else if let Some(f) = self.as_f64() {
/external/rust/crates/tinytemplate/src/
Dtemplate.rs332 Value::Number(n) => match n.as_f64() { in value_is_truthy()