mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] Fix missing double_double.lo initializer (#1466)
Fixes a missing-field-initializers warning. The original intent was most likely to initialize both fields (similar to other functions in this file), but a `,` was missed. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
38639f229d
commit
d647529fec
@@ -2321,7 +2321,7 @@ static inline double_double accum_d(double_double a, double b)
|
||||
|
||||
static inline double_double add_dd(double_double a, double_double b)
|
||||
{
|
||||
double_double r = { -0.0 - 0.0 };
|
||||
double_double r = { -0.0, -0.0 };
|
||||
|
||||
if (isinf(a.hi) || isinf(b.hi) || isnan(a.hi) || isnan(b.hi) || 0.0 == a.hi
|
||||
|| 0.0 == b.hi)
|
||||
|
||||
Reference in New Issue
Block a user