/external/rust/crates/plotters/src/coord/ranged1d/combinators/ |
D | logarithmic.rs | 10 fn as_f64(&self) -> f64; in as_f64() method 18 fn as_f64(&self) -> f64 { 35 fn as_f64(&self) -> f64 { 97 value.as_f64() in zero_point() 115 let mut start = spec.range.start.as_f64() - zero_point; in from() 116 let mut end = spec.range.end.as_f64() - zero_point; in from() 163 let fv = value.as_f64() - self.zero_point; in value_to_f64() 181 (V::as_f64(&a) - V::as_f64(&b)).abs() < std::f64::EPSILON in is_inf()
|
/external/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/ |
D | other_api.rs | 54 assert_eq!(r.as_f64(), 3.0); in as_num() 59 assert_eq!(a.as_f64(), 4.0); // length. in as_num() 99 assert_eq!(v0.as_f64(), 3.1415); in string_as_num() 111 assert_eq!(v1.as_f64(), 9001.0); in string_as_num() 124 assert_eq!(v2.as_f64(), 42.0); in string_as_num() 148 assert_eq!(n.as_f64(), 0.0); in null_reader()
|
D | interop.rs | 31 assert_eq!(vec.idx(5).as_f64(), 4.0); in read_golden_flexbuffer() 47 assert_eq!(m.idx("foo").as_f64(), 100.0); in read_golden_flexbuffer()
|
D | rwyw.rs | 80 xs.iter().enumerate().all(|(i, &x)| (r.idx(i).as_f64() - x).abs() < core::f64::EPSILON)
|
/external/flatbuffers/tests/rust_serialize_test/src/ |
D | main.rs | 67 assert_eq!(pos.get("x").unwrap().as_f64().unwrap(), 1.0); in main() 68 assert_eq!(pos.get("y").unwrap().as_f64().unwrap(), 2.0); in main() 69 assert_eq!(pos.get("z").unwrap().as_f64().unwrap(), 3.0); in main()
|
/external/rust/crates/serde_json/src/lexical/ |
D | num.rs | 58 fn as_f64(self) -> f64; in as_f64() method 91 fn as_f64(self) -> f64 { 124 as_cast_impl!(f64, as_f64);
|
/external/flatbuffers/rust/flexbuffers/src/reader/ |
D | mod.rs | 495 Float => self.as_f64().abs() > std::f64::EPSILON, in as_bool() 559 pub fn as_f64(&self) -> f64 { in as_f64() method 577 self.as_f64() as f32 in as_f32() 607 Float => write!(f, "{}", self.as_f64()), in fmt()
|
D | serialize.rs | 38 (Float, _) | (IndirectFloat, _) => serializer.serialize_f64(self.as_f64()), in serialize()
|
D | de.rs | 186 (Float, W64) => visitor.visit_f64(self.as_f64()), in deserialize_any()
|
/external/rust/crates/serde_json/src/value/ |
D | mod.rs | 646 pub fn as_f64(&self) -> Option<f64> { in as_f64() method 648 Value::Number(n) => n.as_f64(), in as_f64()
|
D | partial_eq.rs | 13 value.as_f64().map_or(false, |i| i == other) in eq_f64()
|
/external/rust/crates/serde_json/tests/lexical/ |
D | num.rs | 11 let _: f64 = t.as_f64(); in check_as_primitive()
|
/external/rust/crates/rusqlite/src/types/ |
D | value_ref.rs | 66 pub fn as_f64(&self) -> FromSqlResult<f64> { in as_f64() method
|
/external/rust/crates/serde_json/src/ |
D | number.rs | 240 pub fn as_f64(&self) -> Option<f64> { in as_f64() method 490 } else if let Some(f) = self.as_f64() {
|
/external/rust/crates/glam/src/f32/scalar/ |
D | quat.rs | 663 pub fn as_f64(self) -> DQuat { in as_f64() method
|
/external/rust/crates/glam/src/f32/wasm32/ |
D | quat.rs | 701 pub fn as_f64(self) -> DQuat { in as_f64() method
|
/external/rust/crates/glam/src/f32/sse2/ |
D | quat.rs | 711 pub fn as_f64(self) -> DQuat { in as_f64() method
|
/external/rust/crates/glam/src/f32/coresimd/ |
D | quat.rs | 686 pub fn as_f64(self) -> DQuat { in as_f64() method
|
/external/rust/crates/tinytemplate/src/ |
D | template.rs | 332 Value::Number(n) => match n.as_f64() { in value_is_truthy()
|
/external/rust/crates/glam/ |
D | CHANGELOG.md | 208 * Removed deprecated `as_f32()`, `as_f64()`, `as_i32()` and `as_u32()` methods. 259 * Deprecated `as_f32()`, `as_f64()`, `as_i32()` and `as_u32()` methods in favor
|
/external/rust/crates/glam/tests/ |
D | quat.rs | 603 Quat::from_euler(EulerRot::YXZ, 1.0, 2.0, 3.0).as_f64()
|
/external/rust/crates/serde_json/tests/ |
D | test.rs | 943 assert_eq!(v.unwrap().as_f64(), None); in test_value_as_f64()
|