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

Method of

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

Sets this Decimal256 to the specified 256-bit value and scale. @param hh the highest 64 bits (bits 192-255) @param hl the high 64 bits (bits 128-191) @param lh the mid 64 bits (bits 64-127) @param ll the low 64 bits (bits 0-63) @param scale the number of decimal places

(long hh, long hl, long lh, long ll, int scale)

Source from the content-addressed store, hash-verified

1462 * @param scale the number of decimal places
1463 */
1464 public void of(long hh, long hl, long lh, long ll, int scale) {
1465 this.hh = hh;
1466 this.hl = hl;
1467 this.lh = lh;
1468 this.ll = ll;
1469 this.scale = scale;
1470 }
1471
1472 /**
1473 * Sets this Decimal256 to the specified 128-bit value and scale.

Callers 12

testCompareToMethod · 0.95
testCompareToScaledMethod · 0.95
newConstantInstanceMethod · 0.95
newConstantInstanceMethod · 0.95
newConstantInstanceMethod · 0.95
newConstantInstanceMethod · 0.95
newConstantInstanceMethod · 0.95
compareToMethod · 0.95
moduloMethod · 0.95
ofZeroMethod · 0.95
roundMethod · 0.95

Calls 2

getHighMethod · 0.80
getLowMethod · 0.80

Tested by 3

testCompareToMethod · 0.76
testCompareToScaledMethod · 0.76