MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / int2fl

Function int2fl

src/models/sortformer_diar/postprocess.cpp:185–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 return static_cast<int64_t>(std::llround(value * std::pow(10.0, decimals)));
184}
185
186double int2fl(int64_t value, int decimals) {
187 return static_cast<double>(value) / std::pow(10.0, decimals);
188}
189
190std::vector<SecondSpan> merge_float_intervals_with_margin(

Callers 1

Calls 1

powFunction · 0.85

Tested by

no test coverage detected