]> git.proxmox.com Git - mirror_qemu.git/commit
libdecnumber: Introduce decNumberFrom[U]Int64
authorTom Musta <tommusta@gmail.com>
Mon, 21 Apr 2014 20:54:53 +0000 (15:54 -0500)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:29 +0000 (13:24 +0200)
commit8e706db21ecfba75da3f9f843f1fa36276085742
tree6f87bf3754b5c1ff98ee225cbe347695d52524eb
parente58f8d1ff9f1f71bb1162ccd2f05c258ca8efdbe
libdecnumber: Introduce decNumberFrom[U]Int64

Introduce two conversion functions to the libdecnumber library.
These conversions transform 64 bit integers to the internal decNumber
representation.  Both a signed and unsigned version is added.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/libdecnumber/decNumber.h
libdecnumber/decNumber.c