Skip to content

Use floating numbers for float/double comparisons#3747

Merged
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/bfrop
Dec 23, 2025
Merged

Use floating numbers for float/double comparisons#3747
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/bfrop

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Dec 23, 2025

Some compilers apparently complain when comparing a fixed max/min value (e.g., INT_MAX) to a floating
or double value. So put the actual numbers in the
comparison, defining them as float values.

Some compilers apparently complain when comparing a
fixed max/min value (e.g., INT_MAX) to a floating
or double value. So put the actual numbers in the
comparison, defining them as float values.

Signed-off-by: Ralph Castain <rhc@pmix.org>
@rhc54 rhc54 merged commit 9b5bd0e into openpmix:master Dec 23, 2025
26 checks passed
@rhc54 rhc54 deleted the topic/bfrop branch December 23, 2025 00:43
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.

1 participant