MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / fround

Function fround

include/hxMath.h:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 inline static double ffloor(double inX) { return ::std::floor(inX); }
27 inline static double fceil(double inX) { return ::std::ceil(inX); }
28 inline static double fround(double inX) { return ::std::floor(inX+0.5); }
29 inline static double random() { return __hxcpp_drand(); }
30 inline static double sqrt(double inX) { return ::std::sqrt(inX); }
31 inline static double cos(double inX) { return ::std::cos(inX); }

Callers

nothing calls this directly

Calls 1

floorFunction · 0.85

Tested by

no test coverage detected