removed unnecessary base support

pull/3/head
Clyne 4 years ago committed by GitHub
parent 2006aa7e92
commit 837c3cc7f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,7 @@ class f_to_string_t {
auto append = [](auto V, auto& ptr) { auto append = [](auto V, auto& ptr) {
if (V != 0) { if (V != 0) {
for (auto n = V; n; n /= 10) for (auto n = V; n; n /= 10)
*--ptr = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"[(V < 0 ? -1 : 1) * (n % 10)]; *--ptr = (V < 0 ? -1 : 1) * (n % 10) + '0';
} else { } else {
*--ptr = '0'; *--ptr = '0';
} }

Loading…
Cancel
Save