Skip to content

B4 documentation + testgen ~86% + B18 helper function#107

Open
sww0000 wants to merge 2 commits into
coreyqh:mainfrom
sww0000:B4-doc
Open

B4 documentation + testgen ~86% + B18 helper function#107
sww0000 wants to merge 2 commits into
coreyqh:mainfrom
sww0000:B4-doc

Conversation

@sww0000
Copy link
Copy Markdown
Contributor

@sww0000 sww0000 commented Apr 28, 2026

No description provided.

@Lamarr3314
Copy link
Copy Markdown
Contributor

Quality of life suggestion for integrating B4 into B18: would you be able to create a generator function which takes a precision and rounding mode and yields all of the inputs to your multiplication a and b in hex format. Here's an example of this in B5:
def getMultiplyTests(precision: str, rounding_mode:str) -> Iterator[tuple[str, str]]: yield from tests_multiply_1_2(precision, rounding_mode) yield from tests_multiply_3_4(precision, rounding_mode) yield from tests_multiply_5_6(precision, rounding_mode) yield from tests_multiply_7_8(precision, rounding_mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants