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
Gwenaël Samain
cython
Commits
c1a97ed7
Commit
c1a97ed7
authored
Sep 05, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extend test
parent
3d6033c0
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 @
c1a97ed7
...
@@ -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
():
"""
"""
...
...
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