Home
last modified time | relevance | path

Searched defs:f64 (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/external/rust/crates/criterion/src/
Dkde.rs6 sample: &Sample<f64>, in sweep()
8 range: Option<(f64, f64)>, in sweep() argument
9 ) -> (Box<[f64]>, Box<[f64]>) { in sweep()
15 sample: &Sample<f64>, in sweep_and_estimate()
17 range: Option<(f64, f64)>, in sweep_and_estimate() argument
18 point_to_estimate: f64, in sweep_and_estimate()
19 ) -> (Box<[f64]>, Box<[f64]>, f64) { in sweep_and_estimate()
Dmeasurement.rs42 fn scale_values(&self, typical_value: f64, values: &mut [f64]) -> &'static str; in scale_values()
53 typical_value: f64, in scale_throughputs()
55 values: &mut [f64], in scale_throughputs()
99 fn to_f64(&self, value: &Self::Value) -> f64; in to_f64()
107 fn bytes_per_second(&self, bytes: f64, typical: f64, values: &mut [f64]) -> &'static str { in bytes_per_second()
129 bytes: f64, in bytes_per_second_decimal()
130 typical: f64, in bytes_per_second_decimal()
131 values: &mut [f64], in bytes_per_second_decimal()
152 fn elements_per_second(&self, elems: f64, typical: f64, values: &mut [f64]) -> &'static str { in elements_per_second()
175 typical: f64, in scale_throughputs()
[all …]
/external/rust/crates/criterion/src/analysis/
Dcompare.rs18 avg_times: &Sample<f64>, in common()
21 ) -> Result<( in common()
23 Distribution<f64>, in common()
26 Vec<f64>, in common()
73 avg_times: &Sample<f64>, in t_test()
74 base_avg_times: &Sample<f64>, in t_test()
76 ) -> (f64, Distribution<f64>) { in t_test()
103 avg_times: &Sample<f64>, in estimates()
104 base_avg_times: &Sample<f64>, in estimates()
108 fn stats(a: &Sample<f64>, b: &Sample<f64>) -> (f64, f64) { in estimates()
Dmod.rs270 data: &Data<'_, f64, f64>, in regression() argument
272 ) -> (Distribution<f64>, Estimate) { in regression()
300 fn estimates(avg_times: &Sample<f64>, config: &BenchmarkConfig) -> (Distributions, Estimates) { in estimates()
301 fn stats(sample: &Sample<f64>) -> (f64, f64, f64, f64) { in estimates()
/external/rust/crates/bencher/
Dstats.rs17 fn local_cmp(x: f64, y: f64) -> Ordering { in local_cmp()
32 fn local_sort(v: &mut [f64]) { in local_sort()
44 fn sum(&self) -> f64; in sum()
47 fn min(&self) -> f64; in min()
50 fn max(&self) -> f64; in max()
55 fn mean(&self) -> f64; in mean()
61 fn median(&self) -> f64; in median()
70 fn var(&self) -> f64; in var()
78 fn std_dev(&self) -> f64; in std_dev()
84 fn std_dev_pct(&self) -> f64; in std_dev_pct()
[all …]
/external/rust/crates/criterion-plot/src/
Ddata.rs92 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64)) { in append_to()
112 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64, f64)) { in append_to()
134 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64, f64, f64)) { in append_to()
159 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64, f64, f64, f64)) { in append_to()
/external/rust/crates/glam/src/f64/
Ddmat4.rs71 m00: f64, in new()
72 m01: f64, in new()
73 m02: f64, in new()
74 m03: f64, in new()
75 m10: f64, in new()
76 m11: f64, in new()
77 m12: f64, in new()
78 m13: f64, in new()
79 m20: f64, in new()
80 m21: f64, in new()
[all …]
Ddvec4.rs16 pub const fn dvec4(x: f64, y: f64, z: f64, w: f64) -> DVec4 { in dvec4()
74 pub const fn new(x: f64, y: f64, z: f64, w: f64) -> Self { in new()
135 pub fn write_to_slice(self, slice: &mut [f64]) { in write_to_slice()
153 pub fn dot(self, rhs: Self) -> f64 { in dot()
206 pub fn min_element(self) -> f64 { in min_element()
214 pub fn max_element(self) -> f64 { in max_element()
386 pub fn length(self) -> f64 { in length()
395 pub fn length_squared(self) -> f64 { in length_squared()
403 pub fn length_recip(self) -> f64 { in length_recip()
409 pub fn distance(self, rhs: Self) -> f64 { in distance()
[all …]
Ddquat.rs22 pub const fn dquat(x: f64, y: f64, z: f64, w: f64) -> DQuat { in dquat()
63 pub const fn from_xyzw(x: f64, y: f64, z: f64, w: f64) -> Self { in from_xyzw()
115 pub fn write_to_slice(self, slice: &mut [f64]) { in write_to_slice()
172 pub fn from_euler(euler: EulerRot, a: f64, b: f64, c: f64) -> Self { in from_euler()
346 pub fn to_axis_angle(self) -> (DVec3, f64) { in to_axis_angle() argument
371 pub fn to_euler(self, euler: EulerRot) -> (f64, f64, f64) { in to_euler()
419 pub fn dot(self, rhs: Self) -> f64 { in dot()
426 pub fn length(self) -> f64 { in length()
436 pub fn length_squared(self) -> f64 { in length_squared()
444 pub fn length_recip(self) -> f64 { in length_recip()
[all …]
Ddvec3.rs16 pub const fn dvec3(x: f64, y: f64, z: f64) -> DVec3 { in dvec3()
66 pub const fn new(x: f64, y: f64, z: f64) -> Self { in new()
118 pub fn write_to_slice(self, slice: &mut [f64]) { in write_to_slice()
152 pub fn dot(self, rhs: Self) -> f64 { in dot()
213 pub fn min_element(self) -> f64 { in min_element()
221 pub fn max_element(self) -> f64 { in max_element()
354 pub fn length(self) -> f64 { in length()
363 pub fn length_squared(self) -> f64 { in length_squared()
371 pub fn length_recip(self) -> f64 { in length_recip()
377 pub fn distance(self, rhs: Self) -> f64 { in distance()
[all …]
Ddvec2.rs16 pub const fn dvec2(x: f64, y: f64) -> DVec2 { in dvec2()
60 pub const fn new(x: f64, y: f64) -> Self { in new()
111 pub fn write_to_slice(self, slice: &mut [f64]) { in write_to_slice()
124 pub fn dot(self, rhs: Self) -> f64 { in dot()
173 pub fn min_element(self) -> f64 { in min_element()
181 pub fn max_element(self) -> f64 { in max_element()
309 pub fn length(self) -> f64 { in length()
318 pub fn length_squared(self) -> f64 { in length_squared()
326 pub fn length_recip(self) -> f64 { in length_recip()
332 pub fn distance(self, rhs: Self) -> f64 { in distance()
[all …]
/external/rust/crates/criterion/src/plot/plotters_backend/
Dsummary.rs26 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison()
63 data: Vec<(Option<&String>, Vec<f64>, Vec<f64>)>, in draw_line_comarision_figure()
65 XR::CoordDescType: PlottersValueFormatter<f64>, in draw_line_comarision_figure()
66 YR::CoordDescType: PlottersValueFormatter<f64>, in draw_line_comarision_figure()
119 all_curves: &[&(&'a BenchmarkId, Vec<f64>)], in line_comparison_series_data()
120 ) -> (&'static str, Vec<(Option<&'a String>, Vec<f64>, Vec<f64>)>) { in line_comparison_series_data()
157 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin()
223 data: Vec<(&str, Box<[f64]>, Box<[f64]>)>, in draw_violin_figure()
225 XR::CoordDescType: PlottersValueFormatter<f64>, in draw_violin_figure()
226 YR::CoordDescType: PlottersValueFormatter<f64>, in draw_violin_figure()
/external/rust/crates/minimal-lexical/tests/
Dlibm_tests.rs81 fn powd(base: f64, exponent: f64, expected: f64) { in powd()
97 fn powd_test_sets_as_base(sets: &[&[f64]], exponent: f64, expected: f64) { in powd_test_sets_as_base()
101 fn powd_test_sets_as_exponent(base: f64, sets: &[&[f64]], expected: f64) { in powd_test_sets_as_exponent()
105 fn powd_test_sets(sets: &[&[f64]], computed: &dyn Fn(f64) -> f64, expected: &dyn Fn(f64) -> f64) { in powd_test_sets()
/external/rust/crates/plotters/examples/
Derrorbar.rs77 fn down_sample(data: &[(f64, f64)]) -> Vec<(f64, f64, f64, f64)> { in down_sample() argument
Dsnowflake.rs3 fn snowflake_iter(points: &[(f64, f64)]) -> Vec<(f64, f64)> { in snowflake_iter() argument
Danimation.rs3 fn snowflake_iter(points: &[(f64, f64)]) -> Vec<(f64, f64)> { in snowflake_iter() argument
/external/crosvm/win_audio/src/r8brain_sys/
Dbindings.rs43 SrcSampleRate: f64, in r8b_create()
44 DstSampleRate: f64, in r8b_create()
46 ReqTransBand: f64, in r8b_create()
92 ip0: *mut f64, in r8b_process()
94 op0: *mut *mut f64, in r8b_process()
/external/rust/crates/libm/src/math/
Dhypot.rs7 fn sq(x: f64) -> (f64, f64) { in sq()
21 pub fn hypot(mut x: f64, mut y: f64) -> f64 { in hypot()
Dpow.rs93 pub fn pow(x: f64, y: f64) -> f64 { in pow()
455 fn pow_test(base: f64, exponent: f64, expected: f64) { in pow_test()
471 fn test_sets_as_base(sets: &[&[f64]], exponent: f64, expected: f64) { in test_sets_as_base()
476 fn test_sets_as_exponent(base: f64, sets: &[&[f64]], expected: f64) { in test_sets_as_exponent()
481 fn test_sets(sets: &[&[f64]], computed: &dyn Fn(f64) -> f64, expected: &dyn Fn(f64) -> f64) { in test_sets()
Dk_tan.rs62 pub(crate) fn k_tan(mut x: f64, mut y: f64, odd: i32) -> f64 { in k_tan()
103 fn zero_low_word(x: f64) -> f64 { in zero_low_word()
Dk_sin.rs47 pub(crate) fn k_sin(x: f64, y: f64, iy: i32) -> f64 { in k_sin()
/external/rust/crates/num-traits/src/ops/
Dinv.rs27 impl Inv for f64 { implementation
30 fn inv(self) -> f64 { in inv()
41 impl<'a> Inv for &'a f64 { implementation
44 fn inv(self) -> f64 { in inv()
/external/rust/crates/plotters-backend/src/rasterizer/
Dpath.rs4 fn get_dir_vector(from: BackendCoord, to: BackendCoord, flag: bool) -> ((f64, f64), (f64, f64)) { in get_dir_vector() argument
20 fn compute_polygon_vertex(triple: &[BackendCoord; 3], d: f64, buf: &mut Vec<BackendCoord>) { in compute_polygon_vertex()
Dcircle.rs5 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_a()
7 height: f64, in draw_part_a()
30 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_b()
32 from: f64, in draw_part_b()
33 size: f64, in draw_part_b()
45 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_c()
92 (s, e): (f64, f64), in draw_sweep_line() argument
/external/rust/crates/plotters/src/data/
Dfloat.rs2 fn find_minimal_repr(n: f64, eps: f64) -> (f64, usize) { in find_minimal_repr()
17 fn float_to_string(n: f64, max_precision: usize, min_decimal: usize) -> String { in float_to_string()
117 pub fn pretty_print_float(n: f64, allow_sn: bool) -> String { in pretty_print_float()

12345678910>>...12