run tests in parallel
[ieee754fpu.git] / src / ieee754 / div_rem_sqrt_rsqrt / algorithm.pyi
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 # See Notices.txt for copyright information
3
4 from typing import Tuple
5
6
7 def div_rem(dividend: int,
8 divisor: int,
9 bit_width: int,
10 signed: int) -> Tuple[int, int]:
11 ...
12
13
14 class UnsignedDivRem:
15 remainder: int
16 divisor: int
17 bit_width: int
18 log2_radix: int
19 quotient: int
20 current_shift: int
21
22 def __init__(self,
23 dividend: int,
24 divisor: int,
25 bit_width: int,
26 log2_radix: int = 3):
27 ...
28
29 def calculate_stage(self) -> bool:
30 ...
31
32 def calculate(self) -> 'UnsignedDivRem':
33 ...