From d855eaab13392ef2ee3b75709c84b314d29afab9 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 24 Jan 2017 23:10:01 +0100 Subject: Documentation. --- docs/types.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/types.rst') 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: -- cgit