MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / step

Function step

extlibs/catch/include/catch/catch.hpp:11096–11101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11094
11095template <typename FP>
11096FP step(FP start, FP direction, int steps) {
11097 for (int i = 0; i < steps; ++i) {
11098 start = std::nextafter(start, direction);
11099 }
11100 return start;
11101}
11102
11103} // end anonymous namespace
11104

Callers 1

describeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected