Home
last modified time | relevance | path

Searched defs:f32 (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/rust/crates/glam/src/f32/scalar/
Dmat4.rs77 m00: f32, in new()
78 m01: f32, in new()
79 m02: f32, in new()
80 m03: f32, in new()
81 m10: f32, in new()
82 m11: f32, in new()
83 m12: f32, in new()
84 m13: f32, in new()
85 m20: f32, in new()
86 m21: f32, in new()
[all …]
Dvec4.rs16 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
80 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
141 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
161 pub fn dot(self, rhs: Self) -> f32 { in dot()
214 pub fn min_element(self) -> f32 { in min_element()
222 pub fn max_element(self) -> f32 { in max_element()
394 pub fn length(self) -> f32 { in length()
403 pub fn length_squared(self) -> f32 { in length_squared()
411 pub fn length_recip(self) -> f32 { in length_recip()
417 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs22 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
67 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
119 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
176 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
356 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
381 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
429 pub fn dot(self, rhs: Self) -> f32 { in dot()
436 pub fn length(self) -> f32 { in length()
446 pub fn length_squared(self) -> f32 { in length_squared()
454 pub fn length_recip(self) -> f32 { in length_recip()
[all …]
Dvec3a.rs16 pub const fn vec3a(x: f32, y: f32, z: f32) -> Vec3A { in vec3a()
72 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
124 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
158 pub fn dot(self, rhs: Self) -> f32 { in dot()
219 pub fn min_element(self) -> f32 { in min_element()
227 pub fn max_element(self) -> f32 { in max_element()
360 pub fn length(self) -> f32 { in length()
369 pub fn length_squared(self) -> f32 { in length_squared()
377 pub fn length_recip(self) -> f32 { in length_recip()
383 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
/external/rust/crates/glam/src/f32/coresimd/
Dmat4.rs72 m00: f32, in new()
73 m01: f32, in new()
74 m02: f32, in new()
75 m03: f32, in new()
76 m10: f32, in new()
77 m11: f32, in new()
78 m12: f32, in new()
79 m13: f32, in new()
80 m20: f32, in new()
81 m21: f32, in new()
[all …]
Dvec4.rs19 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
72 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
120 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
140 pub fn dot(self, rhs: Self) -> f32 { in dot()
183 pub fn min_element(self) -> f32 { in min_element()
191 pub fn max_element(self) -> f32 { in max_element()
310 pub fn length(self) -> f32 { in length()
320 pub fn length_squared(self) -> f32 { in length_squared()
328 pub fn length_recip(self) -> f32 { in length_recip()
335 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs25 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
62 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
109 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
166 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
346 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
371 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
415 pub fn dot(self, rhs: Self) -> f32 { in dot()
422 pub fn length(self) -> f32 { in length()
432 pub fn length_squared(self) -> f32 { in length_squared()
440 pub fn length_recip(self) -> f32 { in length_recip()
[all …]
Dvec3a.rs19 pub const fn vec3a(x: f32, y: f32, z: f32) -> Vec3A { in vec3a()
69 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
117 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
147 pub fn dot(self, rhs: Self) -> f32 { in dot()
201 pub fn min_element(self) -> f32 { in min_element()
212 pub fn max_element(self) -> f32 { in max_element()
336 pub fn length(self) -> f32 { in length()
346 pub fn length_squared(self) -> f32 { in length_squared()
354 pub fn length_recip(self) -> f32 { in length_recip()
361 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
/external/rust/crates/glam/src/f32/wasm32/
Dmat4.rs72 m00: f32, in new()
73 m01: f32, in new()
74 m02: f32, in new()
75 m03: f32, in new()
76 m10: f32, in new()
77 m11: f32, in new()
78 m12: f32, in new()
79 m13: f32, in new()
80 m20: f32, in new()
81 m21: f32, in new()
[all …]
Dvec4.rs23 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
76 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
124 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
144 pub fn dot(self, rhs: Self) -> f32 { in dot()
187 pub fn min_element(self) -> f32 { in min_element()
198 pub fn max_element(self) -> f32 { in max_element()
330 pub fn length(self) -> f32 { in length()
340 pub fn length_squared(self) -> f32 { in length_squared()
348 pub fn length_recip(self) -> f32 { in length_recip()
355 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs25 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
62 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
109 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
166 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
346 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
371 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
415 pub fn dot(self, rhs: Self) -> f32 { in dot()
422 pub fn length(self) -> f32 { in length()
432 pub fn length_squared(self) -> f32 { in length_squared()
440 pub fn length_recip(self) -> f32 { in length_recip()
[all …]
Dvec3a.rs23 pub const fn vec3a(x: f32, y: f32, z: f32) -> Vec3A { in vec3a()
73 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
121 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
151 pub fn dot(self, rhs: Self) -> f32 { in dot()
205 pub fn min_element(self) -> f32 { in min_element()
216 pub fn max_element(self) -> f32 { in max_element()
348 pub fn length(self) -> f32 { in length()
358 pub fn length_squared(self) -> f32 { in length_squared()
366 pub fn length_recip(self) -> f32 { in length_recip()
373 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
/external/rust/crates/glam/src/f32/sse2/
Dmat4.rs75 m00: f32, in new()
76 m01: f32, in new()
77 m02: f32, in new()
78 m03: f32, in new()
79 m10: f32, in new()
80 m11: f32, in new()
81 m12: f32, in new()
82 m13: f32, in new()
83 m20: f32, in new()
84 m21: f32, in new()
[all …]
Dvec4.rs26 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
79 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
132 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
152 pub fn dot(self, rhs: Self) -> f32 { in dot()
195 pub fn min_element(self) -> f32 { in min_element()
208 pub fn max_element(self) -> f32 { in max_element()
342 pub fn length(self) -> f32 { in length()
354 pub fn length_squared(self) -> f32 { in length_squared()
362 pub fn length_recip(self) -> f32 { in length_recip()
371 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs33 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
70 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
118 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
173 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
353 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
378 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
422 pub fn dot(self, rhs: Self) -> f32 { in dot()
429 pub fn length(self) -> f32 { in length()
439 pub fn length_squared(self) -> f32 { in length_squared()
447 pub fn length_recip(self) -> f32 { in length_recip()
[all …]
Dvec3a.rs26 pub const fn vec3a(x: f32, y: f32, z: f32) -> Vec3A { in vec3a()
76 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
129 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
159 pub fn dot(self, rhs: Self) -> f32 { in dot()
220 pub fn min_element(self) -> f32 { in min_element()
233 pub fn max_element(self) -> f32 { in max_element()
367 pub fn length(self) -> f32 { in length()
379 pub fn length_squared(self) -> f32 { in length_squared()
387 pub fn length_recip(self) -> f32 { in length_recip()
396 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
/external/flatbuffers/samples/rust_generated/my_game/sample/
Dvec_3_generated.rs82 x: f32, in new()
83 y: f32, in new()
84 z: f32, in new()
97 pub fn x(&self) -> f32 { in x()
109 pub fn set_x(&mut self, x: f32) { in set_x()
113 &x_le as *const f32 as *const u8, in set_x() constant
120 pub fn y(&self) -> f32 { in y()
132 pub fn set_y(&mut self, x: f32) { in set_y()
136 &x_le as *const f32 as *const u8, in set_y() constant
143 pub fn z(&self) -> f32 { in z()
[all …]
/external/flatbuffers/tests/monster_test/my_game/example/
Dvec_3_generated.rs85 x: f32, in new()
86 y: f32, in new()
87 z: f32, in new()
106 pub fn x(&self) -> f32 { in x()
118 pub fn set_x(&mut self, x: f32) { in set_x()
122 &x_le as *const f32 as *const u8, in set_x() constant
129 pub fn y(&self) -> f32 { in y()
141 pub fn set_y(&mut self, x: f32) { in set_y()
145 &x_le as *const f32 as *const u8, in set_y() constant
152 pub fn z(&self) -> f32 { in z()
[all …]
/external/flatbuffers/tests/monster_test_serialize/my_game/example/
Dvec_3_generated.rs103 x: f32, in new()
104 y: f32, in new()
105 z: f32, in new()
124 pub fn x(&self) -> f32 { in x()
136 pub fn set_x(&mut self, x: f32) { in set_x()
140 &x_le as *const f32 as *const u8, in set_x() constant
147 pub fn y(&self) -> f32 { in y()
159 pub fn set_y(&mut self, x: f32) { in set_y()
163 &x_le as *const f32 as *const u8, in set_y() constant
170 pub fn z(&self) -> f32 { in z()
[all …]
/external/rust/crates/num-traits/src/ops/
Dinv.rs20 impl Inv for f32 { implementation
23 fn inv(self) -> f32 { in inv()
34 impl<'a> Inv for &'a f32 { implementation
37 fn inv(self) -> f32 { in inv()
/external/rust/crates/glam/benches/
Dvec3a.rs36 fn vec3a_into_tuple(v: Vec3A) -> (f32, f32, f32) { in vec3a_into_tuple()
/external/rust/crates/glam/src/f32/
Dvec3.rs16 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3()
66 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
118 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
152 pub fn dot(self, rhs: Self) -> f32 { in dot()
213 pub fn min_element(self) -> f32 { in min_element()
221 pub fn max_element(self) -> f32 { in max_element()
354 pub fn length(self) -> f32 { in length()
363 pub fn length_squared(self) -> f32 { in length_squared()
371 pub fn length_recip(self) -> f32 { in length_recip()
377 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dvec2.rs16 pub const fn vec2(x: f32, y: f32) -> Vec2 { in vec2()
60 pub const fn new(x: f32, y: f32) -> Self { in new()
111 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
124 pub fn dot(self, rhs: Self) -> f32 { in dot()
173 pub fn min_element(self) -> f32 { in min_element()
181 pub fn max_element(self) -> f32 { in max_element()
309 pub fn length(self) -> f32 { in length()
318 pub fn length_squared(self) -> f32 { in length_squared()
326 pub fn length_recip(self) -> f32 { in length_recip()
332 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
/external/deqp-deps/amber/src/
Dformat_test.cc26 auto f32 = type::Number::Float(32); in TEST_F() local
447 auto f32 = type::Number::Float(32); in TEST_F() local
467 auto f32 = type::Number::Float(32); in TEST_F() local
491 auto f32 = type::Number::Float(32); in TEST_F() local
512 auto f32 = type::Number::Float(32); in TEST_F() local
538 auto f32 = type::Number::Float(32); in TEST_F() local
563 auto f32 = type::Number::Float(32); in TEST_F() local
594 auto f32 = type::Number::Float(32); in TEST_F() local
622 auto f32 = type::Number::Float(32); in TEST_F() local
652 auto f32 = type::Number::Float(32); in TEST_F() local
[all …]
/external/rust/crates/libm/src/math/
Dfmaf.rs49 pub fn fmaf(x: f32, y: f32, mut z: f32) -> f32 { in fmaf()

12345678910>>...12