fix: spell fix

This commit is contained in:
Simon Gene Gottlieb
2024-10-22 19:58:19 +02:00
committed by Jesse Beder
parent ebfbf27115
commit 9ce5a25188

View File

@@ -194,7 +194,7 @@ std::string FpToString(T v, int precision = 0) {
if (digits_iter != digits_end) {
*(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;
for (int i{0}; i < after_decimal_zeros; ++i) {
*(output_ptr++) = '0';