Home
last modified time | relevance | path

Searched refs:is_infinite (Results 1 – 25 of 41) sorted by relevance

12

/external/python/pyserial/test/
Dtest_timeout_class.py32 self.assertFalse(t.is_infinite)
39 self.assertTrue(t.is_infinite)
/external/rust/crates/num-traits/src/
Dfloat.rs197 fn is_infinite(self) -> bool { in is_infinite() method
221 !(self.is_nan() || self.is_infinite()) in is_finite()
812 Self::is_infinite(self) -> bool;
915 Self::is_infinite(self) -> bool;
1099 fn is_infinite(self) -> bool; in is_infinite() method
1924 Self::is_infinite(self) -> bool;
2012 FloatCore::is_infinite(self) -> bool;
/external/rust/crates/half/src/
Dnum_traits.rs176 fn is_infinite(self) -> bool { in is_infinite() method
177 self.is_infinite() in is_infinite()
341 fn is_infinite(self) -> bool { in is_infinite() method
342 self.is_infinite() in is_infinite()
914 fn is_infinite(self) -> bool { in is_infinite() method
915 self.is_infinite() in is_infinite()
1079 fn is_infinite(self) -> bool { in is_infinite() method
1080 self.is_infinite() in is_infinite()
/external/rust/crates/rand/src/distributions/
Dutils.rs240 fn is_infinite(self) -> bool; in is_infinite() method
299 fn is_infinite(self) -> bool {
305 !(self.is_nan() || self.is_infinite())
/external/rust/crates/der/src/asn1/
Dreal.rs94 || self.is_infinite() in value_len()
128 || self.is_infinite() in encode_value()
138 } else if self.is_infinite() { in encode_value()
261 assert!(plus_infty.is_infinite() && plus_infty.is_sign_positive()); in decode_subnormal()
263 assert!(neg_infty.is_infinite() && neg_infty.is_sign_negative()); in decode_subnormal()
/external/rust/crates/protobuf-json-mapping/src/
Dprint.rs96 f32::is_infinite(*self) && self > &0.0 in is_pos_infinity()
100 f32::is_infinite(*self) && self < &0.0 in is_neg_infinity()
116 f64::is_infinite(*self) && self > &0.0 in is_pos_infinity()
120 f64::is_infinite(*self) && self < &0.0 in is_neg_infinity()
/external/rust/crates/protobuf-support/src/lexer/
Dfloat.rs16 } else if f.is_infinite() { in format_protobuf_float()
/external/rust/crates/protobuf/2.27.1/src/text_format/lexer/
Dfloat.rs18 } else if f.is_infinite() { in format_protobuf_float()
/external/rust/crates/protobuf-codegen/2.27.1/src/
Dfloat.rs18 } else if f.is_infinite() { in format_protobuf_float()
/external/libabigail/src/
Dabg-reporter-priv.cc765 if (first_array->is_infinite()) in report_size_and_alignment_changes()
770 if (second_array->is_infinite()) in report_size_and_alignment_changes()
799 if ((*i)->is_infinite()) in report_size_and_alignment_changes()
806 if ((*j)->is_infinite()) in report_size_and_alignment_changes()
Dabg-ctf-reader.cc822 bool is_infinite = false; in process_ctf_array_type() local
865 is_infinite = true; in process_ctf_array_type()
877 subrange->is_infinite(is_infinite); in process_ctf_array_type()
Dabg-comp-filter.cc1674 if (f->is_infinite() != s->is_infinite()) in has_benign_infinite_array_change()
Dabg-reader.cc4256 bool is_infinite = false; in build_subrange_type() local
4260 is_infinite = true; in build_subrange_type()
4274 ABG_ASSERT(is_infinite in build_subrange_type()
4296 if (!is_infinite) in build_subrange_type()
4316 p->is_infinite(is_infinite); in build_subrange_type()
/external/rust/crates/textwrap/src/wrap_algorithms/
Doptimal_fit.rs371 if cost.is_infinite() { in wrap_optimal_fit()
/external/python/pyserial/serial/
Dserialutil.py129 self.is_infinite = (duration is None)
145 elif self.is_infinite:
Dserialposix.py626 elif not timeout.is_infinite:
823 … for fd, event in poll.poll(None if timeout.is_infinite else (timeout.time_left() * 1000)):
/external/python/cpython2/Lib/test/
Dtest_decimal.py542 self.assertTrue(Decimal(float('inf')).is_infinite())
543 self.assertTrue(Decimal(float('-inf')).is_infinite())
1732 self.assertTrue(MyDecimal.from_float(float('inf')).is_infinite())
1733 self.assertTrue(MyDecimal.from_float(float('-inf')).is_infinite())
1923 d = c.is_infinite(Decimal(10))
1924 self.assertEqual(c.is_infinite(10), d)
1925 self.assertRaises(TypeError, c.is_infinite, '10')
/external/rust/crates/bindgen/codegen/
Dhelpers.rs273 if f.is_infinite() { in float_expr()
/external/python/pyserial/serial/urlhandler/
Dprotocol_socket.py208 elif not timeout.is_infinite:
/external/rust/crates/num-derive/src/
Dlib.rs756 fn is_infinite(self) -> bool { in float()
757 <#inner_ty as #import::Float>::is_infinite(self.0) in float()
/external/rust/crates/half/
DCHANGELOG.md156 - `f16::from_bits`, `f16::to_bits`, `f16::is_nan`, `f16::is_infinite`, `f16::is_finite`,
235 - Small optimization on `is_nan` and `is_infinite` from [@tspiteri].
/external/python/cpython3/Lib/test/
Dtest_decimal.py702 self.assertTrue(Decimal(float('inf')).is_infinite())
703 self.assertTrue(Decimal(float('-inf')).is_infinite())
814 self.assertTrue(nc.create_decimal(float('inf')).is_infinite())
815 self.assertTrue(nc.create_decimal(float('-inf')).is_infinite())
2575 self.assertTrue(MyDecimal.from_float(float('inf')).is_infinite())
2576 self.assertTrue(MyDecimal.from_float(float('-inf')).is_infinite())
2728 self.assertRaises(TypeError, D(1).is_infinite, context=xc)
3138 d = c.is_infinite(Decimal(10))
3139 self.assertEqual(c.is_infinite(10), d)
3140 self.assertRaises(TypeError, c.is_infinite, '10')
[all …]
/external/rust/crates/serde_json/src/
Dde.rs551 if f.is_infinite() { in f64_from_parts()
571 if f.is_infinite() { in f64_from_parts()
812 if f.is_infinite() { in f64_long_from_parts()
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py439 if exact.is_infinite():
442 if rounded.is_infinite():
/external/rust/crates/serde_cbor/src/
Dser.rs313 if value.is_infinite() { in serialize_f32()

12