Disallow more than 77 fractional digits.

This commit is contained in:
chriseth
2021-10-06 13:55:38 +02:00
parent 96d50431bb
commit 3fe4b0b2c3
9 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ The following elementary types exist:
- ``bool``: equivalent to ``uint8`` restricted to the values 0 and 1. For computing the function selector, ``bool`` is used.
- ``fixed<M>x<N>``: signed fixed-point decimal number of ``M`` bits, ``8 <= M <= 256``,
``M % 8 == 0``, and ``0 < N <= 80``, which denotes the value ``v`` as ``v / (10 ** N)``.
``M % 8 == 0``, and ``0 < N <= 77``, which denotes the value ``v`` as ``v / (10 ** N)``.
- ``ufixed<M>x<N>``: unsigned variant of ``fixed<M>x<N>``.