[#717] Handle oddly-sized integral types with the int-cast facilities
Description
We currently have Mutez
, TLTime
integral types with odd sizes,
that we treat in a special way and define specific conversion
functions for. We should stop this special treatment and handle
Mutez
and TLTime
as any other integral type.
This defines the right instances of Bits
, Integral
,
IntBaseType
and bring in int-cast
facilities for Mutez
and TLTime
.
Related issue(s)
Resolves #717 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Nurlan Alkuatov