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

Method hasOverflowed

core/src/main/java/io/questdb/std/Decimal256.java:1245–1248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1243 }
1244
1245 public boolean hasOverflowed() {
1246 return hh >= 0 ? compareTo0(MAX_VALUE.hh, MAX_VALUE.hl, MAX_VALUE.lh, MAX_VALUE.ll) > 0
1247 : compareTo0(MIN_VALUE.hh, MIN_VALUE.hl, MIN_VALUE.lh, MIN_VALUE.ll) < 0;
1248 }
1249
1250 /**
1251 * Returns the hash code for this Decimal256.

Callers 1

addMethod · 0.45

Calls 1

compareTo0Method · 0.95

Tested by

no test coverage detected