Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/questdb/questdb
/ compareTo
Method
compareTo
core/src/main/java/io/questdb/std/Decimal64.java:369–371 ·
view source on GitHub ↗
Compare this to another Decimal64
(Decimal64 other)
Source
from the content-addressed store, hash-verified
367
* Compare this to another Decimal64
368
*/
369
public
int
compareTo(Decimal64 other) {
370
return
compareTo(other.value, other.scale);
371
}
372
373
/**
374
* Compare this to another Decimal64
Callers
15
testCompareTo
Method · 0.95
testCompareToFuzz
Method · 0.95
testCompareToWithDifferentScales
Method · 0.95
testCompareToWithNull
Method · 0.95
equals
Method · 0.95
TestOs
Class · 0.45
testCompareToFuzz
Method · 0.45
testDivisionCombinatorics
Method · 0.45
testUncheckedAddDecimal64CarryIntoHigh
Method · 0.45
testUncheckedAddDecimal64KeepsScale
Method · 0.45
testUncheckedAddDecimal64NegativeSignExtension
Method · 0.45
testAdditionAccuracy
Method · 0.45
Calls
3
isNull
Method · 0.95
scaleUp
Method · 0.95
compare
Method · 0.65
Tested by
15
testCompareTo
Method · 0.76
testCompareToFuzz
Method · 0.76
testCompareToWithDifferentScales
Method · 0.76
testCompareToWithNull
Method · 0.76
testCompareToFuzz
Method · 0.36
testDivisionCombinatorics
Method · 0.36
testUncheckedAddDecimal64CarryIntoHigh
Method · 0.36
testUncheckedAddDecimal64KeepsScale
Method · 0.36
testUncheckedAddDecimal64NegativeSignExtension
Method · 0.36
testAdditionAccuracy
Method · 0.36
testDivisionAccuracy
Method · 0.36
testModuloAccuracy
Method · 0.36