Merge pull request #2654 from ethereum/docs-fixed

Update grammar/docs for current fixed point types
This commit is contained in:
Alex Beregszaszi
2017-08-16 19:51:37 +01:00
committed by GitHub
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ The following elementary types exist:
- `bool`: equivalent to `uint8` restricted to the values 0 and 1
- `fixed<M>x<N>`: signed fixed-point decimal number of `M` bits, `0 < M <= 256`, `M % 8 ==0`, and `0 < N <= 80`, which denotes the value `v` as `v / (10 ** N)`.
- `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)`.
- `ufixed<M>x<N>`: unsigned variant of `fixed<M>x<N>`.
+2 -2
View File
File diff suppressed because one or more lines are too long
+3 -1
View File
@@ -186,7 +186,9 @@ number of bytes, always use one of ``bytes1`` to ``bytes32`` because they are mu
Fixed Point Numbers
-------------------
**COMING SOON...**
.. warning::
Fixed point numbers are not fully supported by Solidity yet. They can be declared, but
cannot be assigned to or from.
.. index:: address, literal;address