Python 3.13.0 (tags/v3.13.0:60403a5, Oct 7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
DreamPie 1.2.1
>>> 0.2 + 0.2
0: 0.4
>>> 0.2 + 0.2 + 0.2
1: 0.6000000000000001
>>> 0.2 + 0.2 + 0.2 + 0.2
2: 0.8
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2
3: 1.0
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2
4: 1.2
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2
5: 1.4
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2
6: 1.5999999999999999
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2
7: 1.7999999999999998
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2
8: 1.9999999999999998
>>> 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2
9: 2.1999999999999997
>>> import random as r
>>> r.random()
10: 0.6540609198429036
>>> r.random()
11: 0.7394510543791131
>>> r.random()
12: 0.16780010682638602
>>> r.seed(1)
>>> r.random()
13: 0.13436424411240122
>>> r.random()
14: 0.8474337369372327
>>> r.random()
15: 0.763774618976614
>>> r.seed(1)
>>> r.random()
16: 0.13436424411240122
>>> r.random()
17: 0.8474337369372327
>>> r.random()
18: 0.763774618976614
>>> 2**19937 - 1
C:\Program Files (x86)\DreamPie\data\subp-py3\dreampielib\subprocess\__init__.py:391: UserWarning: pprint raised an exception, using repr instead. To reproduce, run: "from pprint import pprint; pprint(_)"
warn('pprint raised an exception, using repr instead. '
Traceback (most recent call last):
File "C:\Users\znamenaj\Python313\Lib\pprint.py", line 62, in pformat
underscore_numbers=underscore_numbers).pformat(object)
~~~~~~~^^^^^^^^
File "C:\Users\znamenaj\Python313\Lib\pprint.py", line 161, in pformat
self._format(object, sio, 0, 0, {}, 0)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\znamenaj\Python313\Lib\pprint.py", line 178, in _format
rep = self._repr(object, context, level)
File "C:\Users\znamenaj\Python313\Lib\pprint.py", line 458, in _repr
repr, readable, recursive = self.format(object, context.copy(),
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
self._depth, level)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\znamenaj\Python313\Lib\pprint.py", line 471, in format
return self._safe_repr(object, context, maxlevels, level)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\znamenaj\Python313\Lib\pprint.py", line 566, in _safe_repr
return repr(object), True, False
~~~~^^^^^^^^
ValueError: Exceeds the limit (4300 digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\DreamPie\data\subp-py3\dreampielib\subprocess\__init__.py", line 439, in execute
res_str = self.safe_pformat(self.last_res)
File "C:\Program Files (x86)\DreamPie\data\subp-py3\dreampielib\subprocess\__init__.py", line 393, in safe_pformat
return str(repr(obj))
~~~~^^^^^
ValueError: Exceeds the limit (4300 digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit
[About 32 more lines. Double-click to unfold]
>>> from math import factorial
>>> 2**19937 - 1 > factorial(2080)
19: True
>>> 2**19937 - 1 > factorial(2081)
20: False
>>>