diff options
-rw-r--r-- | docs/types.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst index 6b67e684..cb14c8ac 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -171,6 +171,19 @@ Fixed Point Numbers **COMING SOON...** +.. index:: address, literal;address + +.. _address_literals: + +Address Literals +---------------- + +Hexadecimal literals that pass the address checksum test, for example +``0xdCad3a6d3569DF655070DEd06cb7A1b2Ccd1D3AF`` are of ``address`` type. +Hexadecimal literals that are 20 bytes long (differ from that in at +most one hexadecimal digit) but do not pass the checksum test produce +a warning and are treated as regular rational number literals. + .. index:: literal, literal;rational .. _rational_literals: |