Changeset 787 for cpp/frams


Ignore:
Timestamp:
05/23/18 02:20:40 (7 years ago)
Author:
Maciej Komosinski
Message:

Removed a comment; sprintf() gives more control and precision than std::to_string()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fn/fn_conv.cpp

    r779 r787  
    7777                        out += ", ";
    7878                snprintf(buffer, sizeof(buffer), "%.8g", vec[i]);
    79                 out += buffer; //+= std::to_string(1.23) still not available in embarcadero 10.2.3
     79                out += buffer;
    8080        }
    8181        return out + "]";
Note: See TracChangeset for help on using the changeset viewer.