From: Robert Bradshaw Date: Thu, 27 May 2010 03:29:53 +0000 (-0700) Subject: Large literal int + double test. X-Git-Tag: 0.13.beta0~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db54db2be0cf0248fa7f0e0d778cc15f5b9406b7;p=cython.git Large literal int + double test. --- diff --git a/tests/run/literals.pyx b/tests/run/literals.pyx index b0bcd619..181dea63 100644 --- a/tests/run/literals.pyx +++ b/tests/run/literals.pyx @@ -62,3 +62,10 @@ def test_complex(x): True """ return x == 0.3333333333333333j + +def test_large_int(double x): + """ + >>> test_large_int(0) + 1e+100 + """ + return x + 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000