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
ec7dd99d
Commit
ec7dd99d
authored
Mar 24, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test interaction of underscore literals and Cython length/sign suffixes.
parent
50e67150
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/run/int_literals.pyx
tests/run/int_literals.pyx
+2
-0
No files found.
tests/run/int_literals.pyx
View file @
ec7dd99d
...
@@ -23,6 +23,8 @@ def valid_underscore_literals():
...
@@ -23,6 +23,8 @@ def valid_underscore_literals():
assert
1_00_00.5
==
10000.5
assert
1_00_00.5
==
10000.5
assert
1e1_0
==
1e10
assert
1e1_0
==
1e10
assert
.
1_4
==
.
14
assert
.
1_4
==
.
14
assert
1_0
==
1_0
L
==
1_0
LL
==
1_0
UL
==
1_0
ULL
assert
typeof
(
1_0
ULL
)
==
"unsigned long long"
@
cython
.
test_assert_path_exists
(
@
cython
.
test_assert_path_exists
(
...
...
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