Commit 9ce5a251 by Simon Gene Gottlieb Committed by Jesse Beder

fix: spell fix

parent ebfbf271
...@@ -194,7 +194,7 @@ std::string FpToString(T v, int precision = 0) { ...@@ -194,7 +194,7 @@ std::string FpToString(T v, int precision = 0) {
if (digits_iter != digits_end) { if (digits_iter != digits_end) {
*(output_ptr++) = '.'; *(output_ptr++) = '.';
// print 0 afer decimal point, to fill until first digits // print 0 after decimal point, to fill until first digits
int const after_decimal_zeros = -digits_ct - r.exponent; int const after_decimal_zeros = -digits_ct - r.exponent;
for (int i{0}; i < after_decimal_zeros; ++i) { for (int i{0}; i < after_decimal_zeros; ++i) {
*(output_ptr++) = '0'; *(output_ptr++) = '0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment