You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/05/08 02:54:32 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #486: BUG: Changed usage of floating point MinValue constants to Epsilon to match Java

NightOwl888 opened a new pull request #486:
URL: https://github.com/apache/lucenenet/pull/486


   Changed all references that were `float.MinValue` and `double.MinValue` to `float.Epsilon` and `double.Epsilon` because those are the .NET equivalent constants to `Float.MIN_VALUE` and `Double.MIN_VALUE` in Java
   
   ### References:
   
   - [Why is Double.MIN_VALUE in not negative](https://stackoverflow.com/a/3884879)
   - [Why is Float.MIN_VALUE in Java a positive value?](https://stackoverflow.com/a/11420190)
   - [Java: Float.MIN_VALUE vs Float.MIN_NORMAL](https://programming.guide/java/float-min-value-vs-float-min-normal.html)
   - [Float Javadocs](https://docs.oracle.com/javase/7/docs/api/java/lang/Float.html#MIN_VALUE)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [lucenenet] NightOwl888 merged pull request #486: BUG: Changed usage of floating point MinValue constants to Epsilon to match Java

Posted by GitBox <gi...@apache.org>.
NightOwl888 merged pull request #486:
URL: https://github.com/apache/lucenenet/pull/486


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org