diff options
author | Luis Pires <luis.pires@eldorado.org.br> | 2021-10-29 16:24:03 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-11-09 10:32:52 +1100 |
commit | 727385c4e13e1a5a985124a20a2370855141111d (patch) | |
tree | fd30395145becf57fc15c55fb4cb3ed2e6fce81a /include | |
parent | 8bdb760606dadf6b7454aac84f214bb0f2c80654 (diff) | |
download | qemu-727385c4e13e1a5a985124a20a2370855141111d.zip qemu-727385c4e13e1a5a985124a20a2370855141111d.tar.gz qemu-727385c4e13e1a5a985124a20a2370855141111d.tar.bz2 |
libdecnumber: introduce decNumberFrom[U]Int128
This will be used to implement PowerPC's dcffixqq.
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-2-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/libdecnumber/decNumber.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libdecnumber/decNumber.h b/include/libdecnumber/decNumber.h index aa115fe..0cf69c7 100644 --- a/include/libdecnumber/decNumber.h +++ b/include/libdecnumber/decNumber.h @@ -116,6 +116,8 @@ decNumber * decNumberFromUInt32(decNumber *, uint32_t); decNumber *decNumberFromInt64(decNumber *, int64_t); decNumber *decNumberFromUInt64(decNumber *, uint64_t); + decNumber *decNumberFromInt128(decNumber *, uint64_t, int64_t); + decNumber *decNumberFromUInt128(decNumber *, uint64_t, uint64_t); decNumber * decNumberFromString(decNumber *, const char *, decContext *); char * decNumberToString(const decNumber *, char *); char * decNumberToEngString(const decNumber *, char *); |