qemu-e2k/libdecnumber
Tom Musta 0a322e7e7c libdecnumber: Fix decNumberSetBCD
Fix a simple bug in the decNumberSetBCD() function.  This function
encodes a decNumber with "n" BCD digits.  The original code erroneously
computed the number of declets from the dn argument, which is the output
decNumber value, and hence may contain garbage.  Instead, the input "n"
value is used.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:29 +02:00
..
dpd
decContext.c libdecnumber: Introduce decNumberIntegralToInt64 2014-06-16 13:24:29 +02:00
decNumber.c libdecnumber: Fix decNumberSetBCD 2014-06-16 13:24:29 +02:00