What would be a better name for the dtoa function that converts a floating-point number to a string in decimal and also works with float?
Current signature:
void dtoa(double value, char* buf);
@vitaut If you want to stay cryptic, then fptoa() would seem to be a natural choice. If your budget allows for more than a few letters and maybe even some underscores, you could go with fpnumber_to_string().
@VZ @vitaut except that sounds a lot more like functions that a) return std::string, and b) are easy to use safely. Sometimes cryptic signals caution, and this fn isn't for the casual, modern-C++ user. (I think a wrapper, `std::string to_string(double value)`, would be nice, and not too slow in many cases.)