[m-rev.] for review: add uint->uintN conversions
jfischer at opturion.com
Wed Jun 30 22:10:53 AEST 2021
On Wed, 30 Jun 2021, Zoltan Somogyi wrote:
> 2021-06-30 21:38 GMT+10:00 "Julien Fischer" <jfischer at opturion.com>:
>>> Announce the new predicates and functions.
>> The test suite should be extended to cover these new operations.
> OK. Seeing that there seems to be no test case in tests/hard_coded
> into which tests of these functions would fit, the thing to do would seem
> to be to create from_uint_uintN.m on the basis of from_int_uintN.
> However, there is no from_int_uint64.m. Is this intentional, or
> an oversight?
Oversight; there is one in the mercury-inttypes library
(https://github.com/juliensf/mercury-inttypes) where the original
work on fixed sized integers was done -- it looks like I forgot to
bring it across when I merged that work into the standard library.
I'll do so now; if you want to leave the uint versions, I'll create
them as well.
More information about the reviews