From db54db2be0cf0248fa7f0e0d778cc15f5b9406b7 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Wed, 26 May 2010 20:29:53 -0700 Subject: [PATCH] Large literal int + double test. --- tests/run/literals.pyx | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.26.2