MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / round_nearest

Function round_nearest

lib/pugixml/src/pugixml.cpp:8431–8434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8429 }
8430
8431 PUGI__FN double round_nearest(double value)
8432 {
8433 return floor(value + 0.5);
8434 }
8435
8436 PUGI__FN double round_nearest_nzero(double value)
8437 {

Callers 1

eval_stringMethod · 0.85

Calls 1

floorFunction · 0.85

Tested by

no test coverage detected