https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749

--- Comment #5 from Aleksei <alexsyrezerv at mail dot ru> ---
this variant more clear.. 4 symbol after point// may by c++ has modification
for set symbols after decimal point ? 
```
  void func_float_point(std::ostream& os, const double& value, const
mcx::convert_info_t& cv) {
    char buf[buf_size];
    snprintf(buf, buf_size - 1, "%0*.*f", cv.size, cv.pos, value);
    os << buf;
  }
```

Reply via email to