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

Method ifloor

src/ap.cpp:1041–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039{ return int(x>0 ? floor(x) : ceil(x)); }
1040
1041int ap::ifloor(double x)
1042{ return int(floor(x)); }
1043
1044int ap::iceil(double x)
1045{ return int(ceil(x)); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected