MCPcopy Index your code
hub / github.com/ccxt/ccxt / or

Method or

java/lib/src/main/java/io/github/ccxt/base/Precise.java:107–111  ·  view source on GitHub ↗
(Precise other)

Source from the content-addressed store, hash-verified

105 }
106
107 public Precise or(Precise other) {
108 BigInteger integer = this.integer.or(other.integer);
109 int decimals = toInt(this.decimals) + toInt(other.decimals);
110 return new Precise(integer.toString(), decimals);
111 }
112
113 public Precise neg() {
114 return new Precise(this.integer.negate().toString(), this.decimals);

Callers 1

stringOrMethod · 0.45

Calls 2

toIntMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected