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

Method mathPow

java/lib/src/main/java/io/github/ccxt/Helpers.java:485–492  ·  view source on GitHub ↗
(Object base, Object exp)

Source from the content-addressed store, hash-verified

483 }
484
485 public static double mathPow(Object base, Object exp) {
486 if (base instanceof Number && exp instanceof Number) {
487 double baseFloat = ((Number) base).doubleValue();
488 double expFloat = ((Number) exp).doubleValue();
489 return Math.pow(baseFloat, expFloat);
490 }
491 return 0;
492 }
493
494 public static Object mathMax(Object a, Object b) {
495 if (a == null || b == null) return null;

Callers 4

parseCurrencyMethod · 0.95
transferMethod · 0.95
eipMessageForOrderMethod · 0.95

Calls 1

powMethod · 0.45

Tested by 1