Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
b4b3c368
Commit
b4b3c368
authored
Sep 05, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extend test
parent
2ac9ffba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tests/run/ct_DEF.pyx
tests/run/ct_DEF.pyx
+5
-2
No files found.
tests/run/ct_DEF.pyx
View file @
b4b3c368
...
...
@@ -94,18 +94,21 @@ def l():
def
large_nums
():
"""
>>> ul32, ul64, l64 = large_nums()
>>> ul32, ul64, l64
, n64
= large_nums()
>>> print_large_number(ul32)
4294967295
>>> print_large_number(ul64)
18446744073709551615
>>> print_large_number(l64)
4294967295
>>> print_large_number(n64)
-4294967295
"""
cdef
unsigned
long
ul32
=
LARGE_NUM32
cdef
unsigned
long
long
ul64
=
LARGE_NUM64
cdef
long
long
l64
=
LARGE_NUM32
return
ul32
,
ul64
,
l64
cdef
long
long
n64
=
-
LARGE_NUM32
return
ul32
,
ul64
,
l64
,
n64
def
f
():
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment