diff options
author | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2017-05-09 10:45:50 +0200 |
---|---|---|
committer | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2017-05-09 10:45:50 +0200 |
commit | 4c4778c54b389c7a38cbeb271afceebf8ed492e9 (patch) | |
tree | f849f1df3d6ea7ca4b14ba33d33d3077f928890d | |
parent | f5d04977771893e941fab27b88c6aff7686df945 (diff) | |
download | mpc-git-4c4778c54b389c7a38cbeb271afceebf8ed492e9.tar.gz |
fixed warning found by gcc 7.1.0
-rw-r--r-- | src/div.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -386,8 +386,8 @@ mpc_div (mpc_ptr a, mpc_srcptr b, mpc_srcptr c, mpc_rnd_t rnd) /* if 1/q is inexact, the approximations of the real and imaginary part below will be inexact, unless RE(res) or IM(res) is zero */ - inexact_re |= ~mpfr_zero_p (mpc_realref (res)); - inexact_im |= ~mpfr_zero_p (mpc_imagref (res)); + inexact_re |= !mpfr_zero_p (mpc_realref (res)); + inexact_im |= !mpfr_zero_p (mpc_imagref (res)); } mpfr_clear_underflow (); mpfr_clear_overflow (); |