Skip to content

WANT_FLOAT32 bug: if set to 0, there is an unconditional use - #513

Merged
augustss merged 1 commit into
augustss:masterfrom
Rewbert:want_float32
Aug 25, 2026
Merged

WANT_FLOAT32 bug: if set to 0, there is an unconditional use#513
augustss merged 1 commit into
augustss:masterfrom
Rewbert:want_float32

Conversation

@Rewbert

@Rewbert Rewbert commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

mhs_from_Float only exists if #define WANT_FLOAT32 1, but is used unconditionally by mhs_mpz_get_f. The fix is to guard the usage as well, mirroring how mhs_mpz_get_d is implemented.

I have a script that tries to find configurations that break the build, even though they shouldn't. I rerun it as soon as the fixes land, so I am afraid I might open several of these little PRs.

@augustss
augustss merged commit 45d0cdb into augustss:master Aug 25, 2026
12 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