Class SignedZeroComparer
LUCENENET specific comparer to handle the special case of comparing negative zero with positive zero.
For IEEE floating-point numbers, there is a distinction of negative and positive zero. Reference: http://stackoverflow.com/a/3139636
Inheritance
System.Object
SignedZeroComparer
Assembly: DistributedLucene.Net.dll
Syntax
public class SignedZeroComparer : IComparer<double>
Methods
Name | Description |
---|---|
Compare(Double, Double) |