Merge bf86054782 into 8215dbafbd
This commit is contained in:
commit
9d1b1a6969
@ -250,7 +250,8 @@ boundaries compute_boundaries(FloatType value)
|
||||
// Determine w- = m- such that e_(w-) = e_(w+).
|
||||
const diyfp w_minus = diyfp::normalize_to(m_minus, w_plus.e);
|
||||
|
||||
return {diyfp::normalize(v), w_minus, w_plus};
|
||||
boundaries result {diyfp::normalize(v), w_minus, w_plus};
|
||||
return result;
|
||||
}
|
||||
|
||||
// Given normalized diyfp w, Grisu needs to find a (normalized) cached
|
||||
|
||||
@ -58,6 +58,9 @@ target_compile_options(test_main PUBLIC
|
||||
$<$<CXX_COMPILER_ID:MSVC>:/W4 /wd4566 /wd4996>
|
||||
# https://github.com/nlohmann/json/issues/1114
|
||||
$<$<CXX_COMPILER_ID:MSVC>:/bigobj> $<$<BOOL:${MINGW}>:-Wa,-mbig-obj>
|
||||
# MSVC: Set source and execution character sets to UTF-8
|
||||
$<$<CXX_COMPILER_ID:MSVC>:
|
||||
$<$<VERSION_GREATER_EQUAL:${MSVC_VERSION},1900>:/utf-8;>>
|
||||
|
||||
# https://github.com/nlohmann/json/pull/3229
|
||||
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user