diff options
Diffstat (limited to 'src/ieee_float.h')
-rw-r--r-- | src/ieee_float.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ieee_float.h b/src/ieee_float.h index adf2b6cf..a7f7cdf9 100644 --- a/src/ieee_float.h +++ b/src/ieee_float.h @@ -34,7 +34,7 @@ static const int dbl_subnormal_expt = -0x3FF - DBL_MANT_DIG + 2; static inline uint64_t double_to_rep(const double d) { - uint64_t rep; + uint64_t rep = 0; memcpy(&rep, &d, sizeof(rep)); return rep; } |