Difference between revisions of "Word"

From Lazarus wiki
(Created page with "A Word is a 16 bits unsigned integer value. Its maximal value is 2^16 and its minimal value is 0. Nowadays Words are rarely used in arithmetics operations (because most of th...")
 
Line 1: Line 1:
 
A Word is a 16 bits unsigned integer value. Its maximal value is 2^16 and its minimal value is 0.
 
A Word is a 16 bits unsigned integer value. Its maximal value is 2^16 and its minimal value is 0.
  
Nowadays Words are rarely used in arithmetics operations (because most of the CPU have some 32 bit registers, if not 64), but they can be encountered in some API to encode some flags with logicals operations (like in a set).
+
Nowadays Words are rarely used in arithmetic operations (because most of the CPU have some 32 bit registers, if not 64), but they can be encountered in some API to encode some flags with logicals operations (like in a set).

Revision as of 23:09, 9 February 2013

A Word is a 16 bits unsigned integer value. Its maximal value is 2^16 and its minimal value is 0.

Nowadays Words are rarely used in arithmetic operations (because most of the CPU have some 32 bit registers, if not 64), but they can be encountered in some API to encode some flags with logicals operations (like in a set).