projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d895273
)
Large literal int + double test.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Thu, 27 May 2010 03:29:53 +0000
(20:29 -0700)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Thu, 27 May 2010 03:29:53 +0000
(20:29 -0700)
tests/run/literals.pyx
patch
|
blob
|
history
diff --git
a/tests/run/literals.pyx
b/tests/run/literals.pyx
index b0bcd619144154b396bb168a0638c0d19bf635c7..181dea639668fde1afbdd1d6e20e95cb762b0978 100644
(file)
--- 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