fix long double precision error
This commit is contained in:
parent
592043cc14
commit
4a6712e156
|
@ -25,7 +25,7 @@ using ull = unsigned long long;
|
||||||
#endif
|
#endif
|
||||||
using int128 = __int128_t;
|
using int128 = __int128_t;
|
||||||
using uint128 = __uint128_t;
|
using uint128 = __uint128_t;
|
||||||
using ld = long double;
|
using ld = __float128; // up to 1e-9 precision in binary search
|
||||||
using pii = pair<int, int>; using pil = pair<int, ll>; using pid = pair<int, ld>;
|
using pii = pair<int, int>; using pil = pair<int, ll>; using pid = pair<int, ld>;
|
||||||
using pli = pair<ll, int>; using pll = pair<ll, ll>; using pld = pair<ll, ld>;
|
using pli = pair<ll, int>; using pll = pair<ll, ll>; using pld = pair<ll, ld>;
|
||||||
using pdi = pair<ld, int>; using pdl = pair<ld, ll>; using pdd = pair<ld, ld>;
|
using pdi = pair<ld, int>; using pdl = pair<ld, ll>; using pdd = pair<ld, ld>;
|
||||||
|
|
Loading…
Reference in New Issue