• Home
  • Raw
  • Download

Lines Matching defs:bf16

42 pub struct bf16(u16);  struct
44 impl bf16 { implementation
48 pub const fn from_bits(bits: u16) -> bf16 { in from_bits()
59 pub fn from_f32(value: f32) -> bf16 { in from_f32()
74 pub const fn from_f32_const(value: f32) -> bf16 { in from_f32_const()
86 pub fn from_f64(value: f64) -> bf16 { in from_f64()
102 pub const fn from_f64_const(value: f64) -> bf16 { in from_f64_const()
180 pub const fn from_le_bytes(bytes: [u8; 2]) -> bf16 { in from_le_bytes()
195 pub const fn from_be_bytes(bytes: [u8; 2]) -> bf16 { in from_be_bytes()
218 pub const fn from_ne_bytes(bytes: [u8; 2]) -> bf16 { in from_ne_bytes()
410 pub const fn signum(self) -> bf16 { in signum()
486 pub const fn copysign(self, sign: bf16) -> bf16 { in copysign()
505 pub fn max(self, other: bf16) -> bf16 { in max()
528 pub fn min(self, other: bf16) -> bf16 { in min()
557 pub fn clamp(self, min: bf16, max: bf16) -> bf16 { in clamp()
798 impl From<i8> for bf16 { implementation
800 fn from(x: i8) -> bf16 { in from()
806 impl From<u8> for bf16 { implementation
808 fn from(x: u8) -> bf16 { in from()
814 impl PartialEq for bf16 { implementation
824 impl PartialOrd for bf16 { implementation
914 impl FromStr for bf16 { implementation
916 fn from_str(src: &str) -> Result<bf16, ParseFloatError> { in from_str()
922 impl Debug for bf16 { implementation
929 impl Display for bf16 { implementation
936 impl LowerExp for bf16 { implementation
943 impl UpperExp for bf16 { implementation
950 impl Binary for bf16 { implementation
957 impl Octal for bf16 { implementation
964 impl LowerHex for bf16 { implementation
971 impl UpperHex for bf16 { implementation
977 impl Neg for bf16 { implementation
985 impl Neg for &bf16 { implementation
994 impl Add for bf16 { implementation
1002 impl Add<&bf16> for bf16 { implementation
1011 impl Add<&bf16> for &bf16 { implementation
1020 impl Add<bf16> for &bf16 { implementation
1029 impl AddAssign for bf16 { implementation
1036 impl AddAssign<&bf16> for bf16 { implementation
1038 fn add_assign(&mut self, rhs: &bf16) { in add_assign()
1043 impl Sub for bf16 { implementation
1051 impl Sub<&bf16> for bf16 { implementation
1060 impl Sub<&bf16> for &bf16 { implementation
1069 impl Sub<bf16> for &bf16 { implementation
1078 impl SubAssign for bf16 { implementation
1085 impl SubAssign<&bf16> for bf16 { implementation
1087 fn sub_assign(&mut self, rhs: &bf16) { in sub_assign()
1092 impl Mul for bf16 { implementation
1100 impl Mul<&bf16> for bf16 { implementation
1109 impl Mul<&bf16> for &bf16 { implementation
1118 impl Mul<bf16> for &bf16 { implementation
1127 impl MulAssign for bf16 { implementation
1134 impl MulAssign<&bf16> for bf16 { implementation
1136 fn mul_assign(&mut self, rhs: &bf16) { in mul_assign()
1141 impl Div for bf16 { implementation
1149 impl Div<&bf16> for bf16 { implementation
1158 impl Div<&bf16> for &bf16 { implementation
1167 impl Div<bf16> for &bf16 { implementation
1176 impl DivAssign for bf16 { implementation
1183 impl DivAssign<&bf16> for bf16 { implementation
1185 fn div_assign(&mut self, rhs: &bf16) { in div_assign()
1190 impl Rem for bf16 { implementation
1198 impl Rem<&bf16> for bf16 { implementation
1207 impl Rem<&bf16> for &bf16 { implementation
1216 impl Rem<bf16> for &bf16 { implementation
1225 impl RemAssign for bf16 { implementation
1232 impl RemAssign<&bf16> for bf16 { implementation
1234 fn rem_assign(&mut self, rhs: &bf16) { in rem_assign()
1239 impl Product for bf16 { implementation
1246 impl<'a> Product<&'a bf16> for bf16 { implementation
1253 impl Sum for bf16 { implementation
1260 impl<'a> Sum<&'a bf16> for bf16 { implementation
1271 impl<'de> Deserialize<'de> for bf16 { implementation
1272 fn deserialize<D>(deserializer: D) -> Result<bf16, D::Error> in deserialize()
1816 impl quickcheck::Arbitrary for bf16 { implementation