super fast export(console/wip:file)

This commit is contained in:
2022-11-12 01:06:48 +08:00
parent c1b1b26d1a
commit 95d94468a9
9 changed files with 215 additions and 24 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ namespace jkj::dragonbox {
result.exponent, buffer);
}
else {
std::memcpy(buffer, "0E0", 3);
return buffer + 3;
*buffer = '0';
return buffer + 1;
}
}
else {
@@ -15,6 +15,7 @@
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.
#pragma once
#include "dragonbox_to_chars.h"
@@ -517,3 +518,4 @@ namespace jkj::dragonbox {
}
}
}