Do not clobber existing flags.

This commit is contained in:
Stefan Krah 2012-05-31 15:09:27 +02:00
parent b7a455f326
commit 30c35e8154
1 changed files with 1 additions and 1 deletions

View File

@ -3904,7 +3904,7 @@ _mpd_qexp_check_one(mpd_t *result, const mpd_t *a, const mpd_context_t *ctx,
if (_mpd_cmp(&aa, &lim) <= 0) {
_settriple(result, 0, 1, 0);
_mpd_zeropad(result, ctx, status);
*status = MPD_Rounded|MPD_Inexact;
*status |= MPD_Rounded|MPD_Inexact;
return 1;
}