qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

decnumber: use DIV_ROUND_UP

I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>

+1 -1
+1 -1
libdecnumber/decNumber.c
··· 4775 4775 half=*up & 0x01; 4776 4776 *up/=2; /* [shift] */ 4777 4777 if (!half) continue; 4778 - *(up-1)+=(DECDPUNMAX+1)/2; 4778 + *(up-1)+=DIV_ROUND_UP(DECDPUNMAX, 2); 4779 4779 } 4780 4780 /* [accunits still describes the original remainder length] */ 4781 4781