mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-27 21:00:01 +01:00
Optimize grisu using uint128_t
This commit is contained in:
@@ -176,8 +176,12 @@ FMT_END_NAMESPACE
|
||||
# define FMT_USE_TRAILING_RETURN 0
|
||||
#endif
|
||||
|
||||
#ifndef FMT_USE_INT128
|
||||
# define FMT_USE_INT128 (__SIZEOF_INT128__ != 0)
|
||||
#ifdef FMT_USE_INT128
|
||||
// Do nothing.
|
||||
#elif defined(__SIZEOF_INT128__)
|
||||
# define FMT_USE_INT128 1
|
||||
#else
|
||||
# define FMT_USE_INT128 0
|
||||
#endif
|
||||
|
||||
// __builtin_clz is broken in clang with Microsoft CodeGen:
|
||||
|
||||
Reference in New Issue
Block a user