MCPcopy Create free account
hub / github.com/LAStools/LAStools / lidardouble2string

Function lidardouble2string

src/lasdiff.cpp:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72static int lidardouble2string(char* string, double value0, double value1)
73{
74 int len;
75 len = sprintf(string, "%.9f", value0) - 1;
76 while (string[len] == '0') len--;
77 if (string[len] != '.') len++;
78 len += sprintf(&(string[len]), " %.9f", value1) - 1;
79 while (string[len] == '0') len--;
80 if (string[len] != '.') len++;
81 string[len] = '\0';
82 return len;
83}
84
85static double taketime()
86{

Callers 1

check_headerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected