grisu_format is not supposed to be imported/exported

When sizeof(Double) == sizeof(uint64_t)
This commit is contained in:
denchat 2019-05-11 23:48:15 +07:00 committed by GitHub
parent 6d0343fe5a
commit 166b79dd08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -683,7 +683,7 @@ template <int GRISU_VERSION> struct grisu_shortest_handler {
};
template <typename Double, FMT_ENABLE_IF_T(sizeof(Double) == sizeof(uint64_t))>
FMT_FUNC FMT_API bool grisu_format(Double value, buffer<char>& buf, int precision,
FMT_FUNC bool grisu_format(Double value, buffer<char>& buf, int precision,
unsigned options, int& exp) {
FMT_ASSERT(value >= 0, "value is negative");
bool fixed = (options & grisu_options::fixed) != 0;