MCPcopy Create free account
hub / github.com/dynjs/dynjs / sign

Method sign

src/main/java/org/dynjs/runtime/Types.java:324–330  ·  view source on GitHub ↗
(Number n)

Source from the content-addressed store, hash-verified

322 }
323
324 protected static int sign(Number n) {
325 if (n.doubleValue() < 0) {
326 return -1;
327 }
328
329 return 1;
330 }
331
332 public static Long toUint32(ExecutionContext context, Object o) {
333 // 9.5

Callers 3

toUint16Method · 0.95
toUint32Method · 0.95
toInt32Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected