Home
last modified time | relevance | path

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

12345678910>>...13

/external/rust/crates/glam/src/f32/
Dmath.rs3 fn acos_approx_f32(v: f32) -> f32 { in acos_approx_f32()
38 pub(crate) fn abs(f: f32) -> f32 { in abs()
43 pub(crate) fn acos_approx(f: f32) -> f32 { in acos_approx()
48 pub(crate) fn asin(f: f32) -> f32 { in asin()
53 pub(crate) fn atan2(f: f32, other: f32) -> f32 { in atan2()
59 pub(crate) fn sin(f: f32) -> f32 { in sin()
64 pub(crate) fn sin_cos(f: f32) -> (f32, f32) { in sin_cos()
69 pub(crate) fn tan(f: f32) -> f32 { in tan()
74 pub(crate) fn sqrt(f: f32) -> f32 { in sqrt()
79 pub(crate) fn copysign(f: f32, sign: f32) -> f32 { in copysign()
[all …]
Dfloat.rs5 impl FloatExt for f32 { implementation
7 fn lerp(self, rhs: f32, t: f32) -> f32 { in lerp()
12 fn inverse_lerp(a: f32, b: f32, v: f32) -> f32 { in inverse_lerp()
17 fn remap(self, in_start: f32, in_end: f32, out_start: f32, out_end: f32) -> f32 { in remap()
Dvec3.rs13 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3()
76 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
133 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
171 pub fn dot(self, rhs: Self) -> f32 { in dot()
238 pub fn min_element(self) -> f32 { in min_element()
247 pub fn max_element(self) -> f32 { in max_element()
394 pub fn length(self) -> f32 { in length()
404 pub fn length_squared(self) -> f32 { in length_squared()
413 pub fn length_recip(self) -> f32 { in length_recip()
420 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dvec2.rs13 pub const fn vec2(x: f32, y: f32) -> Vec2 { in vec2()
70 pub const fn new(x: f32, y: f32) -> Self { in new()
126 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
141 pub fn dot(self, rhs: Self) -> f32 { in dot()
195 pub fn min_element(self) -> f32 { in min_element()
204 pub fn max_element(self) -> f32 { in max_element()
346 pub fn length(self) -> f32 { in length()
356 pub fn length_squared(self) -> f32 { in length_squared()
365 pub fn length_recip(self) -> f32 { in length_recip()
372 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
/external/rust/crates/glam/src/f32/scalar/
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.rs17 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
94 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
160 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
182 pub fn dot(self, rhs: Self) -> f32 { in dot()
240 pub fn min_element(self) -> f32 { in min_element()
249 pub fn max_element(self) -> f32 { in max_element()
435 pub fn length(self) -> f32 { in length()
445 pub fn length_squared(self) -> f32 { in length_squared()
454 pub fn length_recip(self) -> f32 { in length_recip()
461 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs20 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
66 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
121 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
185 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
373 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
397 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
448 pub fn dot(self, rhs: Self) -> f32 { in dot()
456 pub fn length(self) -> f32 { in length()
467 pub fn length_squared(self) -> f32 { in length_squared()
476 pub fn length_recip(self) -> f32 { in length_recip()
[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.rs16 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
84 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
137 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
159 pub fn dot(self, rhs: Self) -> f32 { in dot()
207 pub fn min_element(self) -> f32 { in min_element()
216 pub fn max_element(self) -> f32 { in max_element()
349 pub fn length(self) -> f32 { in length()
360 pub fn length_squared(self) -> f32 { in length_squared()
369 pub fn length_recip(self) -> f32 { in length_recip()
377 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs23 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
63 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
113 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
177 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
365 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
389 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
436 pub fn dot(self, rhs: Self) -> f32 { in dot()
444 pub fn length(self) -> f32 { in length()
455 pub fn length_squared(self) -> f32 { in length_squared()
464 pub fn length_recip(self) -> f32 { in length_recip()
[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.rs24 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
92 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
150 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
172 pub fn dot(self, rhs: Self) -> f32 { in dot()
220 pub fn min_element(self) -> f32 { in min_element()
234 pub fn max_element(self) -> f32 { in max_element()
382 pub fn length(self) -> f32 { in length()
395 pub fn length_squared(self) -> f32 { in length_squared()
404 pub fn length_recip(self) -> f32 { in length_recip()
414 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs32 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
72 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
123 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
185 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
373 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
397 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
444 pub fn dot(self, rhs: Self) -> f32 { in dot()
452 pub fn length(self) -> f32 { in length()
463 pub fn length_squared(self) -> f32 { in length_squared()
472 pub fn length_recip(self) -> f32 { in length_recip()
[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.rs21 pub const fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { in vec4()
89 pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self { in new()
142 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
164 pub fn dot(self, rhs: Self) -> f32 { in dot()
212 pub fn min_element(self) -> f32 { in min_element()
224 pub fn max_element(self) -> f32 { in max_element()
370 pub fn length(self) -> f32 { in length()
381 pub fn length_squared(self) -> f32 { in length_squared()
390 pub fn length_recip(self) -> f32 { in length_recip()
398 pub fn distance(self, rhs: Self) -> f32 { in distance()
[all …]
Dquat.rs23 pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat { in quat()
63 pub const fn from_xyzw(x: f32, y: f32, z: f32, w: f32) -> Self { in from_xyzw()
113 pub fn write_to_slice(self, slice: &mut [f32]) { in write_to_slice()
177 pub fn from_euler(euler: EulerRot, a: f32, b: f32, c: f32) -> Self { in from_euler()
365 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle() argument
389 pub fn to_euler(self, euler: EulerRot) -> (f32, f32, f32) { in to_euler()
436 pub fn dot(self, rhs: Self) -> f32 { in dot()
444 pub fn length(self) -> f32 { in length()
455 pub fn length_squared(self) -> f32 { in length_squared()
464 pub fn length_recip(self) -> f32 { in length_recip()
[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/skia/src/ports/fontations/src/
Dffi.rs42 size: f32, in make_hinting_instance()
73 size: f32, in make_mono_hinting_instance()
121 fn move_to(&mut self, x: f32, y: f32) { in move_to()
125 fn line_to(&mut self, x: f32, y: f32) { in line_to()
129 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
133 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
147 fn move_to(&mut self, _x: f32, _y: f32) {} in move_to()
149 fn line_to(&mut self, _x: f32, _y: f32) {} in line_to()
151 fn quad_to(&mut self, _cx0: f32, _cy0: f32, _x: f32, _y: f32) {} in quad_to()
153 fn curve_to(&mut self, _cx0: f32, _cy0: f32, _cx1: f32, _cy1: f32, _x: f32, _y: f32) {} in curve_to()
[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/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()
/external/clang/test/CodeGen/
Dmms-bitfields.c4 int f32; member
11 int f32; member
18 int f32; member

12345678910>>...13