Searched refs:_INFINITY (Results 1 - 2 of 2) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
H A Dtext_format_test.py328 (tokenizer.ConsumeFloat, text_format._INFINITY),
331 (tokenizer.ConsumeFloat, -text_format._INFINITY),
418 self.assertEquals(float, type(text_format._INFINITY))
422 inf_times_zero = text_format._INFINITY * 0
424 self.assertTrue(text_format._INFINITY > 0)
/external/protobuf/python/google/protobuf/
H A Dtext_format.py48 _INFINITY = 1e10000 # overflows, thus will actually be infinity. variable
49 _NAN = _INFINITY * 0
487 return -_INFINITY
488 return _INFINITY

Completed in 174 milliseconds