MCPcopy Create free account
hub / github.com/questdb/questdb / isZero

Method isZero

core/src/main/java/io/questdb/std/Decimal256.java:1290–1292  ·  view source on GitHub ↗

Check if this Decimal256 represents zero. @return true if zero, false otherwise

()

Source from the content-addressed store, hash-verified

1288 * @return true if zero, false otherwise
1289 */
1290 public boolean isZero() {
1291 return hh == 0 && hl == 0 && lh == 0 && ll == 0;
1292 }
1293
1294 /**
1295 * In-place modulo operation.

Callers 8

testDivisionFuzzMethod · 0.95
testIsZeroMethod · 0.95
testModuloFuzzMethod · 0.95
testRoundFuzzMethod · 0.95
testRoundZeroMethod · 0.95
roundMethod · 0.95
toBigDecimalMethod · 0.95

Calls

no outgoing calls

Tested by 5

testDivisionFuzzMethod · 0.76
testIsZeroMethod · 0.76
testModuloFuzzMethod · 0.76
testRoundFuzzMethod · 0.76
testRoundZeroMethod · 0.76