MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / iceil

Function iceil

modules/crypt/ssl/ssl_prf.js:44–47  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

42import {SHA384} from "ssl/constants";
43
44function iceil(x, y)
45{
46 return Math.idiv(x, y) + (Math.irem(x, y) ? 1 : 0);
47}
48
49function p_hash(hash, secret, seed, sz)
50{

Callers 2

p_hashFunction · 0.85
PRFFunction · 0.85

Calls 2

idivMethod · 0.80
iremMethod · 0.80

Tested by

no test coverage detected