From 615c4f8d4b550026569e76e2796e39eadd023848 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 5 Feb 2019 17:17:23 -0800 Subject: [PATCH] Correct documentation of word data type's size The size of word can change from one architecture to another. The previous documentation was correct for AVR but not for SAMD (and other architectures). Here, I've implemented the solution recommended by cmaglie at: https://github.com/arduino/Arduino/issues/4525#issuecomment-314106836 --- Language/Variables/Data Types/word.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Language/Variables/Data Types/word.adoc b/Language/Variables/Data Types/word.adoc index 99f7ca21f..96666fc40 100644 --- a/Language/Variables/Data Types/word.adoc +++ b/Language/Variables/Data Types/word.adoc @@ -17,7 +17,7 @@ subCategories: [ "Data Types" ] [float] === Description -A word stores a 16-bit unsigned number, from 0 to 65535. Same as an unsigned int. +A word can store an unsigned number of at least 16 bits (from 0 to 65535). [%hardbreaks] --