mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Comment
This commit is contained in:
parent
32c5dca733
commit
1e63fc7ca0
2
format.h
2
format.h
@ -377,9 +377,9 @@ void MemoryBuffer<T, SIZE, Allocator>::grow(std::size_t size) {
|
|||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
// Portable version of signbit.
|
// Portable version of signbit.
|
||||||
|
inline int getsign(double x) {
|
||||||
// When compiled in C++11 mode signbit is no longer a macro but a function
|
// When compiled in C++11 mode signbit is no longer a macro but a function
|
||||||
// defined in namespace std and the macro is undefined.
|
// defined in namespace std and the macro is undefined.
|
||||||
inline int getsign(double x) {
|
|
||||||
# ifdef signbit
|
# ifdef signbit
|
||||||
return signbit(x);
|
return signbit(x);
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user