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

"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
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 .

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