Searched refs:s2f (Results 1 – 12 of 12) sorted by relevance
42 mod s2f; module48 use crate::s2f::s2f;58 assert_eq!(0.0, s2f(b"0").unwrap()); in test_basic()59 assert_eq!(-0.0, s2f(b"-0").unwrap()); in test_basic()60 assert_eq!(1.0, s2f(b"1").unwrap()); in test_basic()61 assert_eq!(-1.0, s2f(b"-1").unwrap()); in test_basic()62 assert_eq!(123456792.0, s2f(b"123456789").unwrap()); in test_basic()63 assert_eq!(299792448.0, s2f(b"299792458").unwrap()); in test_basic()68 assert_eq!(1e-45, s2f(b"1e-45").unwrap()); in test_min_max()69 assert_eq!(f32::MIN_POSITIVE, s2f(b"1.1754944e-38").unwrap()); in test_min_max()[all …]
39 float s2f = float(s);47 …oat(us2ui)) + float(ui2ui)) + float(h2ui)) + float(f2ui)) + float(b2ui)) + s2f) + i2f) + us2f) + u…
47 float s2f = float(s);55 …oat(us2ui)) + float(ui2ui)) + float(h2ui)) + float(f2ui)) + float(b2ui)) + s2f) + i2f) + us2f) + u…
44 OpName %s2f "s2f"254 %s2f = OpVariable %_ptr_Function_float Function356 OpStore %s2f %120475 %240 = OpLoad %float %s2f
37 float s2f = float(s);50 half(us2ui) + half(ui2ui) + half(h2ui) + half(f2ui) + half(b2ui) + half(s2f) +
27 void s2f(std::S2 *s2) { in s2f() function
39 void s2f(std::S2 *s2) { in s2f() function
15 define float @s2f(i16 signext %a) {16 ; CHECK-LABEL: s2f:
870 define float @s2f(i16 signext %x) {871 ; CHECK-LABEL: s2f:
15 pub fn s2f(buffer: &[u8]) -> Result<f32, Error> { in s2f() function
461 s2f = gen_xla_ops.xla_spmd_shard_to_full_shape(465 return [s2f]
1752 .s2f