Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
1c4c40a9
Commit
1c4c40a9
authored
Dec 21, 2015
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing long attributes compared with CPython and also with tests
parent
065ac619
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
219 additions
and
109 deletions
+219
-109
src/runtime/long.cpp
src/runtime/long.cpp
+217
-107
src/runtime/long.h
src/runtime/long.h
+2
-2
No files found.
src/runtime/long.cpp
View file @
1c4c40a9
This diff is collapsed.
Click to expand it.
src/runtime/long.h
View file @
1c4c40a9
...
...
@@ -51,8 +51,8 @@ Box* longSub(BoxedLong* lhs, Box* rhs);
Box
*
longMul
(
BoxedLong
*
lhs
,
Box
*
rhs
);
Box
*
longDiv
(
BoxedLong
*
lhs
,
Box
*
rhs
);
Box
*
longPow
(
BoxedLong
*
lhs
,
Box
*
rhs
,
Box
*
mod
=
None
);
Box
*
longL
shift
(
BoxedLong
*
lhs
,
Box
*
rhs
);
Box
*
longR
shift
(
BoxedLong
*
lhs
,
Box
*
rhs
);
Box
*
longL
ShiftLong
(
BoxedLong
*
lhs
,
Box
*
_
rhs
);
Box
*
longR
ShiftLong
(
BoxedLong
*
lhs
,
Box
*
_
rhs
);
Box
*
longHex
(
BoxedLong
*
v
);
Box
*
longOct
(
BoxedLong
*
v
);
...
...
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