MCPcopy Create free account
hub / github.com/PDAL/PDAL / lround

Function lround

filters/ChipperFilter.cpp:144–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143#ifdef _WIN32
144inline long lround(double d)
145{
146 long l;
147
148 if (d < 0)
149 l = (long)ceil(d - .5);
150 else
151 l = (long)floor(d + .5);
152 return l;
153}
154#endif
155
156

Callers 1

partitionMethod · 0.85

Calls 1

ceilFunction · 0.85

Tested by

no test coverage detected