Lines Matching defs:f16
40 pub struct f16(u16); struct
42 impl f16 { implementation
46 pub const fn from_bits(bits: u16) -> f16 { in from_bits()
59 pub fn from_f32(value: f32) -> f16 { in from_f32()
76 pub const fn from_f32_const(value: f32) -> f16 { in from_f32_const()
89 pub fn from_f64(value: f64) -> f16 { in from_f64()
106 pub const fn from_f64_const(value: f64) -> f16 { in from_f64_const()
184 pub const fn from_le_bytes(bytes: [u8; 2]) -> f16 { in from_le_bytes()
199 pub const fn from_be_bytes(bytes: [u8; 2]) -> f16 { in from_be_bytes()
222 pub const fn from_ne_bytes(bytes: [u8; 2]) -> f16 { in from_ne_bytes()
419 pub const fn signum(self) -> f16 { in signum()
495 pub const fn copysign(self, sign: f16) -> f16 { in copysign()
514 pub fn max(self, other: f16) -> f16 { in max()
537 pub fn min(self, other: f16) -> f16 { in min()
566 pub fn clamp(self, min: f16, max: f16) -> f16 { in clamp()
807 impl From<i8> for f16 { implementation
809 fn from(x: i8) -> f16 { in from()
815 impl From<u8> for f16 { implementation
817 fn from(x: u8) -> f16 { in from()
823 impl PartialEq for f16 { implementation
833 impl PartialOrd for f16 { implementation
923 impl FromStr for f16 { implementation
925 fn from_str(src: &str) -> Result<f16, ParseFloatError> { in from_str()
931 impl Debug for f16 { implementation
938 impl Display for f16 { implementation
945 impl LowerExp for f16 { implementation
952 impl UpperExp for f16 { implementation
959 impl Binary for f16 { implementation
966 impl Octal for f16 { implementation
973 impl LowerHex for f16 { implementation
980 impl UpperHex for f16 { implementation
986 impl Neg for f16 { implementation
995 impl Neg for &f16 { implementation
1004 impl Add for f16 { implementation
1013 impl Add<&f16> for f16 { implementation
1022 impl Add<&f16> for &f16 { implementation
1031 impl Add<f16> for &f16 { implementation
1040 impl AddAssign for f16 { implementation
1047 impl AddAssign<&f16> for f16 { implementation
1049 fn add_assign(&mut self, rhs: &f16) { in add_assign()
1054 impl Sub for f16 { implementation
1063 impl Sub<&f16> for f16 { implementation
1072 impl Sub<&f16> for &f16 { implementation
1081 impl Sub<f16> for &f16 { implementation
1090 impl SubAssign for f16 { implementation
1097 impl SubAssign<&f16> for f16 { implementation
1099 fn sub_assign(&mut self, rhs: &f16) { in sub_assign()
1104 impl Mul for f16 { implementation
1113 impl Mul<&f16> for f16 { implementation
1122 impl Mul<&f16> for &f16 { implementation
1131 impl Mul<f16> for &f16 { implementation
1140 impl MulAssign for f16 { implementation
1147 impl MulAssign<&f16> for f16 { implementation
1149 fn mul_assign(&mut self, rhs: &f16) { in mul_assign()
1154 impl Div for f16 { implementation
1163 impl Div<&f16> for f16 { implementation
1172 impl Div<&f16> for &f16 { implementation
1181 impl Div<f16> for &f16 { implementation
1190 impl DivAssign for f16 { implementation
1197 impl DivAssign<&f16> for f16 { implementation
1199 fn div_assign(&mut self, rhs: &f16) { in div_assign()
1204 impl Rem for f16 { implementation
1213 impl Rem<&f16> for f16 { implementation
1222 impl Rem<&f16> for &f16 { implementation
1231 impl Rem<f16> for &f16 { implementation
1240 impl RemAssign for f16 { implementation
1247 impl RemAssign<&f16> for f16 { implementation
1249 fn rem_assign(&mut self, rhs: &f16) { in rem_assign()
1254 impl Product for f16 { implementation
1261 impl<'a> Product<&'a f16> for f16 { implementation
1268 impl Sum for f16 { implementation
1275 impl<'a> Sum<&'a f16> for f16 { implementation
1286 impl<'de> Deserialize<'de> for f16 { implementation
1287 fn deserialize<D>(deserializer: D) -> Result<f16, D::Error> in deserialize()
1887 impl quickcheck::Arbitrary for f16 { implementation