Borough of Berwick-upon-Tweed Borough of Berwick-upon-Tweed Berwick-upon-Tweed was a local government district and borough in Northumberland in the north-east of England, on the border with Scotland. The district had a resident population of 25,949 according to the 2001 census, which also notes that it is the most ethnically homogeneous in the country, with 99.6% of the population recording themselves in the 2001 census as "White". It was also the smallest district in England with borough status, and the third-least densely populated local government district (after Eden and Tynedale). Its main town is Berwick-upon-Tweed, sited immediately to the north of the Tweed estuary. The
Densely packed decimal Densely packed decimal Densely packed decimal (DPD) is an efficient method for binary encoding decimal digits. The traditional system of binary encoding for decimal digits, known as binary-coded decimal (BCD), uses four bits to encode each digit, resulting in significant wastage of binary data bandwidth (since four bits can store 16 states and are being used to store only 10). Densely packed decimal is a more efficient code that packs three digits into ten bits using a scheme that allows compression from, or expansion to, BCD with only two or three gate delays in hardware. The densely packed decimal encoding