Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doctests for pari 2.17 on 32-bit #3

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

tornaria
Copy link

@tornaria tornaria commented Nov 6, 2024

@antonio-rojas here is a patch for 32 bits that you can merge into sagemath#38749.

Starting with pari 2.17 the default bit precision is 128 regardless of BITS_IN_LONG (previously it was 128 for 64-bit but only 96 for 32-bit).

This commit replaces instances of tests with two outputs labeled # 64-bit and # 32-bit by a single one without label.

There is an exception with elleta() which stems from a (bug? weird?) upstream behaviour (nothing to do with pari 2.17).

Also the doctest to test the # 64-bit and # 32-bit labels had to be changed to something else.

@antonio-rojas antonio-rojas merged commit 6d7c793 into antonio-rojas:pari-2.17 Nov 7, 2024
5 of 11 checks passed
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