mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Add FMT_USE_FLOAT128
This commit is contained in:
parent
69396347af
commit
0419d23882
@ -667,7 +667,14 @@ inline auto code_point_index(basic_string_view<char8_type> s, size_t n)
|
|||||||
return s.size();
|
return s.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __SIZEOF_FLOAT128__
|
#ifndef FMT_USE_FLOAT128
|
||||||
|
# ifdef __SIZEOF_FLOAT128__
|
||||||
|
# define FMT_USE_FLOAT128 1
|
||||||
|
# else
|
||||||
|
# define FMT_USE_FLOAT128 0
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if FMT_USE_FLOAT128
|
||||||
using float128 = __float128;
|
using float128 = __float128;
|
||||||
#else
|
#else
|
||||||
using float128 = void;
|
using float128 = void;
|
||||||
|
Loading…
Reference in New Issue
Block a user