Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] Handle negatives in bigint arithmetic


Finally, I can actually propose a fix instead of just complaining.
As usual, take if you like and scrap if you don't. I'll be content
as long as (-1) + 1 = 0.

S. Gilles (3):
  Convert bigint tests to use testr
  Allow bigparse to handle negative numbers
  Handle (-1) + (1) and (-3) - (-2) with bigints

 lib/std/bigint.myr      |  50 +++++++---
 lib/std/test/bigint.myr | 201 ++++++++++++++++++++++++++++++++++------
 2 files changed, 212 insertions(+), 39 deletions(-)

-- 
2.20.1


Follow-Ups:
[PATCH 1/3] Convert bigint tests to use testr"S. Gilles" <sgilles@xxxxxxxxxxxx>
[PATCH 2/3] Allow bigparse to handle negative numbers"S. Gilles" <sgilles@xxxxxxxxxxxx>
[PATCH 3/3] Handle (-1) + (1) and (-3) - (-2) with bigints"S. Gilles" <sgilles@xxxxxxxxxxxx>