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

Method isZero

core/src/main/java/io/questdb/std/Decimal128.java:862–864  ·  view source on GitHub ↗

Check if this number is zero

()

Source from the content-addressed store, hash-verified

860 * Check if this number is zero
861 */
862 public boolean isZero() {
863 return high == 0 && low == 0;
864 }
865
866 /**
867 * Calculate modulo in-place.

Callers 5

testDivisionFuzzMethod · 0.95
testIsZeroMethod · 0.95
testModuloFuzzMethod · 0.95
testRoundFuzzMethod · 0.95
roundMethod · 0.95

Calls

no outgoing calls

Tested by 4

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