Legrandin
|
3835072713
|
Package MPIR in Windows wheel
|
2015-10-10 22:48:47 +02:00 |
|
Legrandin
|
8e4d6f3518
|
Update to API documentation.
|
2015-03-13 20:35:37 +01:00 |
|
Legrandin
|
72aff29a65
|
Update to API documentation.
|
2015-03-11 11:30:16 -04:00 |
|
Legrandin
|
1cca0ff6c1
|
Add Integer.lcm() method
|
2015-03-05 21:54:07 +01:00 |
|
Legrandin
|
f928741c77
|
Add square root to Integer
|
2015-02-25 22:39:10 +01:00 |
|
Legrandin
|
58bf9c6ba4
|
Clean up detection of FFI backend
|
2015-02-20 14:34:41 +00:00 |
|
Legrandin
|
79ae1d2756
|
Numbers._implementation refers to library and API
|
2015-02-11 15:11:58 +00:00 |
|
Legrandin
|
0564cb7c3e
|
On Win64, use ulonglong instead ulong for MPIR
|
2015-02-10 12:50:02 +00:00 |
|
Legrandin
|
c965c1ee84
|
Simplified Integer initialization with GMP
|
2015-02-09 22:22:21 +01:00 |
|
Legrandin
|
103699efa9
|
Try to load MPIR when GMP is not found
|
2015-02-09 12:19:52 +01:00 |
|
Legrandin
|
23b584a6bc
|
_Number_gmp uses the raw api module
|
2015-02-01 21:18:05 +01:00 |
|
Legrandin
|
45ab0d7d5c
|
Bug: mpz_clear() was sometimes called on a uninitialized object
|
2015-01-15 19:17:02 +00:00 |
|
Legrandin
|
a874584787
|
Corrected C declaration of mpz_mul_ui
|
2015-01-15 19:11:51 +00:00 |
|
Legrandin
|
0e6c02b507
|
Fix int conversion problem with python 2.4
|
2015-01-10 12:00:54 +01:00 |
|
Legrandin
|
36d5b41eeb
|
Avoid libgmp APIs based on signed ints
|
2015-01-10 12:00:54 +01:00 |
|
Legrandin
|
594a92fd81
|
Use CFFI for GMP
|
2015-01-09 22:42:36 +01:00 |
|
Legrandin
|
3e374a58c7
|
Bugfix: mpz_set() called on uninitialized MPZ
|
2014-12-06 12:04:12 +01:00 |
|
Legrandin
|
40fe460735
|
Added inverse, gcd, left shift and floor division to Integer
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
354ed29fba
|
Revisited tests, docs and added generate_probable_safe_prime
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
7efa10ed59
|
Additional optimizations for prime generation.
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
1c609d77c6
|
More complete set of tests for Math.Number
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
6f28a6007d
|
Optimize prime generation (Lucas test)
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
e6771764de
|
Add is_divisible_by_ulong method to Integer
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
6f6bfe785a
|
Add or operator to Integer
|
2014-12-06 12:04:11 +01:00 |
|
Legrandin
|
2e40ae0f14
|
Change Math.Numbers.Natural into Integer
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
81e9b240a0
|
Added more methods to Natural.
Methods and operators added are:
* jacobi_symbol()
* multiplication
* simple exponentiation
* right shift
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
63c5588cf9
|
Simplify GMP code with _as_parameter_
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
8847d4b700
|
Add is_perfect_square method to Natural
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
36bec9d410
|
Added more methods to Natural
Methods and operators added:
* random()
* and
* comparison
* bool
* in-place right shift
* size_in_bits()
* str
* is_even()
* is_odd()
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
4969bd2b66
|
Unit test will cover both Natural implementations
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
1b6ad42925
|
Added exponentiation to Natural
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
70f68f8b96
|
Stricter definitions for parameters to C calls
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
0e7e98d887
|
Fix problem with 64-bit machines and ctypes (long)
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
87e2f82965
|
Initial support for GMP
|
2014-12-06 12:04:10 +01:00 |
|
Legrandin
|
4121bdaa5b
|
Added file for GMP backend
|
2014-12-06 12:04:10 +01:00 |
|