summaryrefslogtreecommitdiff
path: root/tests/run/large_integer_T5290.py
blob: 93f06b5ae0573bf476404733f6fc12a440c7f254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# cython: test_assert_c_code_has = __pyx_int_large_498767777577077770_xxx_709777877895072797
# cython: test_assert_c_code_has = __pyx_int_large2_498767777577077770_xxx_709777877895072797

"""
>>> print(large_int1)
498767777577077770556777587772706774776460369770778448231270737072737774657965287074870267\
777936758056447717673778020572245677462377467777877973720727779047207424736977237577049760\
567712761768711777573771777179179717700370131327713044788007971447377173777866449271749747\
721187877247577877179557737776707777677777217729897579397557707379543777975071577397912797\
751172283795307837046127757551976278271387413977777777470074377477377099877743777277619817\
9733909687574772704167777795797966373977780709777877895072797
>>> large_int2 - large_int1 == 10**485  or  large_int2
True
"""

large_int1 = 4987677775770777705567775877727067747764603697707784482312707370727377746579652870748702677779367580564477176737780205722456774623774677778779737207277790472074247369772375770497605677127617687117775737717771791797177003701313277130447880079714473771737778664492717497477211878772475778771795577377767077776777772177298975793975577073795437779750715773979127977511722837953078370461277575519762782713874139777777774700743774773770998777437772776198179733909687574772704167777795797966373977780709777877895072797  # noqa
large_int2 = 4987677775770777705567775977727067747764603697707784482312707370727377746579652870748702677779367580564477176737780205722456774623774677778779737207277790472074247369772375770497605677127617687117775737717771791797177003701313277130447880079714473771737778664492717497477211878772475778771795577377767077776777772177298975793975577073795437779750715773979127977511722837953078370461277575519762782713874139777777774700743774773770998777437772776198179733909687574772704167777795797966373977780709777877895072797  # noqa
#                                     ^
#                                     Here ...77758... -> ...77759...