[m-rev.] for review: add uint->uintN conversions

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Jun 30 23:49:22 AEST 2021


2021-06-30 22:39 GMT+10:00 "Zoltan Somogyi" <zoltan.somogyi at runbox.com>:
> I have just written the 8, 16 and 32 bit versions. The first two work.
> The third does not, because string.m has to_int, but not to_uint :-(.
> I am fixing that right now.

Attached is my updated diff. You will want to have a look at the change
to string.m.

BTW, is the lack of lower/upper bounds on the base in base_string_to_int
intentional, or not? Either way, for now at least, base_string_to_uint
does not have bounds either.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.from_uint2
Type: application/octet-stream
Size: 648 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210630/83eee7ba/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.from_uint2
Type: application/octet-stream
Size: 26723 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210630/83eee7ba/attachment-0003.obj>


More information about the reviews mailing list