grisu_format is not supposed to be imported/exported
When sizeof(Double) == sizeof(uint64_t)
This commit is contained in:
parent
6d0343fe5a
commit
166b79dd08
@ -683,7 +683,7 @@ template <int GRISU_VERSION> struct grisu_shortest_handler {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename Double, FMT_ENABLE_IF_T(sizeof(Double) == sizeof(uint64_t))>
|
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) {
|
unsigned options, int& exp) {
|
||||||
FMT_ASSERT(value >= 0, "value is negative");
|
FMT_ASSERT(value >= 0, "value is negative");
|
||||||
bool fixed = (options & grisu_options::fixed) != 0;
|
bool fixed = (options & grisu_options::fixed) != 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user