Changeset 173 for pyyaml/trunk/lib/yaml/constructor.py
- Timestamp:
- 05/22/06 15:49:54 (7 years ago)
- File:
-
- 1 edited
-
pyyaml/trunk/lib/yaml/constructor.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/constructor.py
r170 r173 233 233 234 234 inf_value = 1e300 235 while repr(inf_value) != repr(inf_value*inf_value):235 while inf_value != inf_value*inf_value: 236 236 inf_value *= inf_value 237 nan_value = inf_value/inf_value237 nan_value = -inf_value/inf_value # Trying to make a quiet NaN (like C99). 238 238 239 239 def construct_yaml_float(self, node):
Note: See TracChangeset
for help on using the changeset viewer.
