Commit c1a97ed7 authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent 3d6033c0
...@@ -94,18 +94,21 @@ def l(): ...@@ -94,18 +94,21 @@ def l():
def large_nums(): def large_nums():
""" """
>>> ul32, ul64, l64 = large_nums() >>> ul32, ul64, l64, n64 = large_nums()
>>> print_large_number(ul32) >>> print_large_number(ul32)
4294967295 4294967295
>>> print_large_number(ul64) >>> print_large_number(ul64)
18446744073709551615 18446744073709551615
>>> print_large_number(l64) >>> print_large_number(l64)
4294967295 4294967295
>>> print_large_number(n64)
-4294967295
""" """
cdef unsigned long ul32 = LARGE_NUM32 cdef unsigned long ul32 = LARGE_NUM32
cdef unsigned long long ul64 = LARGE_NUM64 cdef unsigned long long ul64 = LARGE_NUM64
cdef long long l64 = LARGE_NUM32 cdef long long l64 = LARGE_NUM32
return ul32, ul64, l64 cdef long long n64 = -LARGE_NUM32
return ul32, ul64, l64, n64
def f(): def f():
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment