Searched refs:as_f64 (Results 1 – 7 of 7) sorted by relevance
10 fn as_f64(&self) -> f64; in as_f64() method18 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()
58 fn as_f64(self) -> f64; in as_f64() method91 fn as_f64(self) -> f64 {124 as_cast_impl!(f64, as_f64);
644 pub fn as_f64(&self) -> Option<f64> { in as_f64() method646 Value::Number(ref n) => n.as_f64(), in as_f64()
13 value.as_f64().map_or(false, |i| i == other) in eq_f64()
47 pub fn as_f64(&self) -> FromSqlResult<f64> { in as_f64() method
206 pub fn as_f64(&self) -> Option<f64> { in as_f64() method477 } else if let Some(f) = self.as_f64() {
332 Value::Number(n) => match n.as_f64() { in value_is_truthy()