rithm 14.6.0

Arbitrary precision arithmetic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
from hypothesis import given

from rithm.integer import Int
from tests.utils import pickling_round_trip

from . import strategies


@given(strategies.ints)
def test_round_trip(int_: Int) -> None:
    assert pickling_round_trip(int_) == int_