Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
StackRduino
/
circuitpython
Public
forked from
adafruit/circuitpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
circuitpython
py
mpz.c
on
4.x
User selector
All users
Datepicker
All time
Commit history
Commits on May 21, 2018
py/mpz: Avoid undefined behavior at integer overflow in mpz_hash.
Show description for c4dafce
jepler
authored and
dpgeorge
committed
c4dafce
View commit details
Copy full SHA for c4dafce
View code at this point
Browse repository at this point
Commits on Feb 25, 2018
py/mpz: In mpz_clone, remove unused check for NULL dig.
Show description for f75c7ad
dpgeorge
committed
f75c7ad
View commit details
Copy full SHA for f75c7ad
View code at this point
Browse repository at this point
Commits on Dec 29, 2017
py/mpz: In mpz_as_str_inpl, convert always-false checks to assertions.
Show description for e784274
dpgeorge
committed
e784274
View commit details
Copy full SHA for e784274
View code at this point
Browse repository at this point
py/mpz: Simplify handling of borrow and quo adjustment in mpn_div.
Show description for 9766fdd
dpgeorge
committed
9766fdd
View commit details
Copy full SHA for 9766fdd
View code at this point
Browse repository at this point
Commits on Dec 19, 2017
py/mpz: Apply a small code-size optimisation.
dpgeorge
committed
ae1be76
View commit details
Copy full SHA for ae1be76
View code at this point
Browse repository at this point
py/mpz: Fix pow3 function so it handles the case when 3rd arg is 1.
Show description for 374eaf5
dpgeorge
committed
374eaf5
View commit details
Copy full SHA for 374eaf5
View code at this point
Browse repository at this point
Commits on Jul 31, 2017
all: Use the name MicroPython consistently in comments
Show description for 55f3324
webmeister
authored and
dpgeorge
committed
55f3324
View commit details
Copy full SHA for 55f3324
View code at this point
Browse repository at this point
Commits on Jul 25, 2017
py: Implement raising a big-int to a negative power.
Show description for 04552ff
dpgeorge
committed
04552ff
View commit details
Copy full SHA for 04552ff
View code at this point
Browse repository at this point
py/mpz: Make mpz_is_zero() an inline function.
Show description for 4d1fb61
dpgeorge
committed
4d1fb61
View commit details
Copy full SHA for 4d1fb61
View code at this point
Browse repository at this point
Commits on Apr 25, 2017
py/mpz: In mpn_sub, use existing function to remove trailing zeros.
dpgeorge
committed
f85fd79
View commit details
Copy full SHA for f85fd79
View code at this point
Browse repository at this point
py/mpz: Strip trailing zeros from mpz value when set from bytes.
dpgeorge
committed
c7aa86c
View commit details
Copy full SHA for c7aa86c
View code at this point
Browse repository at this point
Commits on Feb 16, 2017
py/mpz: Change type of "base" args from mp_uint_t to unsigned int.
dpgeorge
committed
6ed77be
View commit details
Copy full SHA for 6ed77be
View code at this point
Browse repository at this point
py/mpz: Remove obsolete declaration of mpz_as_str_size.
dpgeorge
committed
eb90edb
View commit details
Copy full SHA for eb90edb
View code at this point
Browse repository at this point
py/mpz: Convert mp_uint_t to size_t where appropriate.
dpgeorge
committed
dcdcc43
View commit details
Copy full SHA for dcdcc43
View code at this point
Browse repository at this point
Commits on Feb 2, 2017
py: Added optimised support for 3-argument calls to builtin.pow()
Show description for df0117c
nickovs
authored and
pfalcon
committed
df0117c
View commit details
Copy full SHA for df0117c
View code at this point
Browse repository at this point
Commits on Jan 21, 2017
py/mpz: Implement mpz_set_from_bytes() as a foundation for int.from_bytes().
pfalcon
committed
1b42f52
View commit details
Copy full SHA for 1b42f52
View code at this point
Browse repository at this point
Commits on Dec 28, 2016
py/mpz: Fix assertion in mpz_set_from_str which checks value of base.
dpgeorge
committed
2d9440e
View commit details
Copy full SHA for 2d9440e
View code at this point
Browse repository at this point
Commits on Dec 13, 2016
py/mpz: Remove unreachable code in mpn_or_neg functions.
dpgeorge
committed
e83f140
View commit details
Copy full SHA for e83f140
View code at this point
Browse repository at this point
Commits on Oct 31, 2016
py: fix null pointer dereference in mpz.c, fix missing va_end in warning.c
prusnak
authored and
pfalcon
committed
3679ee9
View commit details
Copy full SHA for 3679ee9
View code at this point
Browse repository at this point
Commits on Oct 11, 2016
py: Factor duplicated function to calculate size of formatted int.
dpgeorge
committed
8bb7d95
View commit details
Copy full SHA for 8bb7d95
View code at this point
Browse repository at this point
py/mpz: Use assert to verify mpz does not have a fixed digit buffer.
dpgeorge
committed
df3e5d2
View commit details
Copy full SHA for df3e5d2
View code at this point
Browse repository at this point
py/mpz: In divmod, replace check for rhs!=0 with assert.
Show description for 4887494
dpgeorge
committed
4887494
View commit details
Copy full SHA for 4887494
View code at this point
Browse repository at this point
Commits on May 9, 2016
py/mpz: Fix mpn_div so that it doesn't modify memory of denominator.
Show description for 460b086
dpgeorge
committed
460b086
View commit details
Copy full SHA for 460b086
View code at this point
Browse repository at this point
Commits on May 8, 2016
py/mpz: Do Python style division/modulo within bignum divmod routine.
Show description for 65402ab
dpgeorge
committed
65402ab
View commit details
Copy full SHA for 65402ab
View code at this point
Browse repository at this point
py/mpz: Fix bug with overflowing C-shift in division routine.
Show description for dc3faea
dpgeorge
committed
dc3faea
View commit details
Copy full SHA for dc3faea
View code at this point
Browse repository at this point
Commits on Feb 3, 2016
py/mpz: Add commented-out mpz_pow3_inpl function, to compute (x**y)%z.
Show description for ff1a96c
dpgeorge
committed
ff1a96c
View commit details
Copy full SHA for ff1a96c
View code at this point
Browse repository at this point
py/mpz: Complete implementation of mpz_{and,or,xor} for negative args.
Show description for 2e2e15c
dcurrie
authored and
dpgeorge
committed
2e2e15c
View commit details
Copy full SHA for 2e2e15c
View code at this point
Browse repository at this point
Commits on Jan 8, 2016
py/mpz: Fix conversion of float to mpz so it works on big endian archs.
dpgeorge
committed
2adf7ec
View commit details
Copy full SHA for 2adf7ec
View code at this point
Browse repository at this point
Commits on Nov 22, 2015
py/mpz: Normalize (remove leading zeros) xor operation result.
pfalcon
committed
b3be471
View commit details
Copy full SHA for b3be471
View code at this point
Browse repository at this point
Commits on Oct 1, 2015
py/mpz: Fix bignum anding of large negative with smaller positive int.
dpgeorge
committed
2065373
View commit details
Copy full SHA for 2065373
View code at this point
Browse repository at this point
py/mpz: Force rhs of mpz_shl_inpl/mpz_shr_inpl to be unsigned.
Show description for 2f4e851
dpgeorge
committed
2f4e851
View commit details
Copy full SHA for 2f4e851
View code at this point
Browse repository at this point
py/mpz: Raise NotImplError instead of failing assertion.
dpgeorge
committed
4c02e54
View commit details
Copy full SHA for 4c02e54
View code at this point
Browse repository at this point
Commits on Apr 25, 2015
py: Fix handling of negative numbers in struct.pack of q/Q.
dpgeorge
committed
9472907
View commit details
Copy full SHA for 9472907
View code at this point
Browse repository at this point
py: Support conversion of bignum to bytes.
Show description for 271d18e
dpgeorge
committed
271d18e
View commit details
Copy full SHA for 271d18e
View code at this point
Browse repository at this point
Commits on Apr 22, 2015
py/mpz.c: Fix bug with shl not truncating zero digits correctly.
dpgeorge
committed
f66ee4d
View commit details
Copy full SHA for f66ee4d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.