Skip to content

Fix for max() does not return negative Double #942#959

Open
pragasekar wants to merge 1 commit intojson-path:masterfrom
pragasekar:bug-fix-max-func-942
Open

Fix for max() does not return negative Double #942#959
pragasekar wants to merge 1 commit intojson-path:masterfrom
pragasekar:bug-fix-max-func-942

Conversation

@pragasekar
Copy link
Copy Markdown

"Double.MIN_VALUE" returns the smallest positive nonzero value of type double. Its a not a actual negative value of Double. So applied the changes to get the actual lowest Double value.

@pragasekar
Copy link
Copy Markdown
Author

@kallestenflo I feel this is the potential fix to merge. May i know if i am missing any of the community guidelines to contribute .

@rowezuniga
Copy link
Copy Markdown

Checking in to see if there's any chance of getting this merged for the next release? It’s still a very relevant fix for those of us on the latest version. Thanks!

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