This commit is contained in:
denchat 2019-05-12 00:13:30 +07:00 committed by GitHub
parent 166b79dd08
commit 3b4928a8f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1122,7 +1122,7 @@ enum {
// Formats value using the Grisu algorithm:
// https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf
template <typename Double, FMT_ENABLE_IF(sizeof(Double) == sizeof(uint64_t))>
bool grisu_format(Double, buffer<char>&, int, unsigned, int&);
FMT_API bool grisu_format(Double, buffer<char>&, int, unsigned, int&);
template <typename Double, FMT_ENABLE_IF(sizeof(Double) != sizeof(uint64_t))>
inline bool grisu_format(Double, buffer<char>&, int, unsigned, int&) {
return false;