⚗️ try to fix compilation issue
This commit is contained in:
parent
6e74433139
commit
421ccdf677
@ -909,7 +909,7 @@ void grisu2(char* buf, int& len, int& decimal_exponent, FloatType value)
|
|||||||
// NB: If the neighbors are computed for single-precision numbers, there is a single float
|
// NB: If the neighbors are computed for single-precision numbers, there is a single float
|
||||||
// (7.0385307e-26f) which can't be recovered using strtod. The resulting double precision
|
// (7.0385307e-26f) which can't be recovered using strtod. The resulting double precision
|
||||||
// value is off by 1 ulp.
|
// value is off by 1 ulp.
|
||||||
#if 0
|
#if 0 // NOLINT(readability-avoid-unconditional-preprocessor-if)
|
||||||
const boundaries w = compute_boundaries(static_cast<double>(value));
|
const boundaries w = compute_boundaries(static_cast<double>(value));
|
||||||
#else
|
#else
|
||||||
const boundaries w = compute_boundaries(value);
|
const boundaries w = compute_boundaries(value);
|
||||||
|
|||||||
@ -17730,7 +17730,7 @@ void grisu2(char* buf, int& len, int& decimal_exponent, FloatType value)
|
|||||||
// NB: If the neighbors are computed for single-precision numbers, there is a single float
|
// NB: If the neighbors are computed for single-precision numbers, there is a single float
|
||||||
// (7.0385307e-26f) which can't be recovered using strtod. The resulting double precision
|
// (7.0385307e-26f) which can't be recovered using strtod. The resulting double precision
|
||||||
// value is off by 1 ulp.
|
// value is off by 1 ulp.
|
||||||
#if 0
|
#if 0 // NOLINT(readability-avoid-unconditional-preprocessor-if)
|
||||||
const boundaries w = compute_boundaries(static_cast<double>(value));
|
const boundaries w = compute_boundaries(static_cast<double>(value));
|
||||||
#else
|
#else
|
||||||
const boundaries w = compute_boundaries(value);
|
const boundaries w = compute_boundaries(value);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user