Skip to content

Fix: Incorrect use of Double.MIN_VALUE - #1663

Merged
devemux86 merged 2 commits into
mapsforge:masterfrom
Sublimis:fp-MIN_VALUE-mistake
Feb 27, 2025
Merged

devemux86 merged 2 commits into
mapsforge:masterfrom
Sublimis:fp-MIN_VALUE-mistake

Conversation

@Sublimis

Copy link
Copy Markdown
Contributor

Found one more mistake with floating point MIN_VALUE like the one mentioned in #1659

@devemux86 devemux86 added this to the 0.24.0 milestone Feb 27, 2025
@devemux86
devemux86 merged commit c26cd3d into mapsforge:master Feb 27, 2025
@devemux86

Copy link
Copy Markdown
Collaborator

@Sublimis Thanks!

We could also use the POSITIVE_INFINITY, NEGATIVE_INFINITY that is used elsewhere.

@Sublimis

Copy link
Copy Markdown
Contributor Author

We could also use the POSITIVE_INFINITY, NEGATIVE_INFINITY that is used elsewhere.

That's true, and probably would not have led to a mistake if it had been used originally, but works just as well like this

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants