MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / randominteger

Method randominteger

src/ap.cpp:1032–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030}
1031
1032int ap::randominteger(int maxv)
1033{ return rand()%maxv; }
1034
1035int ap::round_f(double x)
1036{ return int(floor(x+0.5)); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected