package
0.0.0-20240905174813-5b86810c7bc7
Repository: https://github.com/geange/lucene-go.git
Documentation: pkg.go.dev
# Functions
DoubleToSortableLong Converts a double value to a sortable signed long.
IntToSortableBytes Encodes an int32 value such that unsigned byte order comparison is consistent with Integer.compare(int, int) 请参阅: SortableBytesToInt(byte[], int).
LongToSortableBytes Encodes an long value such that unsigned byte order comparison is consistent with Long.compare(long, long) See Also: sortableBytesToLong(byte[], int).
SortableBytesToInt Decodes an integer value previously written with intToSortableBytes 请参阅: IntToSortableBytes(int, byte[]).
SortableBytesToLong Decodes a long value previously written with longToSortableBytes See Also: LongToSortableBytes(uint64, []byte).
No description provided by the author
SortableDoubleBits Converts IEEE 754 representation of a double to sortable order (or back to the original).
SortableLongToDouble Converts a sortable long back to a double.
Subtract Result = a - b, where a >= b, else IllegalArgumentException is thrown.