MCPcopy Create free account
hub / github.com/ccxt/ccxt / sub

Method sub

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

Source from the content-addressed store, hash-verified

100 }
101
102 public Precise sub(Precise other) {
103 Precise negative = new Precise(other.integer.negate().toString(), other.decimals);
104 return this.add(negative);
105 }
106
107 public Precise or(Precise other) {
108 BigInteger integer = this.integer.or(other.integer);

Callers 3

gtMethod · 0.95
geMethod · 0.95
stringSubMethod · 0.45

Calls 2

addMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected