0f0fe71d79
- Update to 1.21: * A serious parser bug could accidentally concatenate numerator and denominator as final denominator when parsing "x/y" where x or y are close to `sys.maxsize, thus returning a Fraction("x/xy"). * MSVC and clang now also benefit from fast "count trailing zeroes" intrinsics. * quicktions is compatible with freethreading Python (3.13+). * Accept leading zeros in precision/width for Fraction's formatting * In line with Python's Fraction, quicktions now raises a ValueError (instead of an OverflowError) when exceeding parser limits * Call __rpow__ in ternary pow()` if necessary * Built using Cython 3.1.2.
Steve Kowalik2025-07-21 03:57:31 +00:00
f99cd31bef
Accepting request 1239866 from devel:languages:python
Ana Guerrero2025-01-23 17:05:54 +00:00
7ef4a00957
Accepting request 1239854 from home:glaubitz:branches:devel:languages:python
Nico Krapp2025-01-23 12:57:53 +00:00
04ab2e18b4
Accepting request 1181278 from devel:languages:python
Ana Guerrero2024-06-17 17:33:43 +00:00
b20ee9131d
- update to 1.18: * New binary wheels were added built with gcc 12 (manylinux_2_28). * x86_64 wheels now require SSE4.2. * Built using Cython 3.0.10.
Dirk Mueller2024-06-10 09:45:54 +00:00
0edb1431a1
Accepting request 1161385 from devel:languages:python
Ana Guerrero2024-03-25 20:12:37 +00:00
d8713222a9
- update to 1.17: * Math operations were sped up by inlined binary GCD calculation.
Dirk Mueller2024-03-25 12:27:06 +00:00
f8ab3cede5
Accepting request 1140281 from devel:languages:python
Ana Guerrero2024-01-21 22:10:15 +00:00
85ca64bc6a
- Enable python 3.11 build again, now is supported - Update to 1.14 - Implement __format__ for Fraction, following python/cpython#100161 - Implement Fraction.is_integer(), following python/cpython#100488 - Fraction.limit_denominator() is faster, following python/cpython#93730 - Internal creation of result Fractions is about 10% faster if the calculated numerator/denominator pair is already normalised, following python/cpython#101780 - Built using Cython 3.0.0b1. - 1.13 - Parsing very long numbers from a fraction string was very slow, even slower than fractions.Fraction. The parser is now faster in all cases (and still much faster for shorter numbers). - Fraction did not implement __int__. https://bugs.python.org/issue44547 - 1.12 - Faster and more space friendly pickling and unpickling. https://bugs.python.org/issue44154 - Algorithmically faster arithmetic for large denominators, although slower for small fraction components. https://bugs.python.org/issue43420 Original patch for CPython by Sergey B. Kirpichev and Raymond Hettinger. - Make sure bool(Fraction) always returns a bool. https://bugs.python.org/issue39274 - Built using Cython 3.0.0a10.
Daniel Garcia2023-03-20 06:46:13 +00:00