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 ignored when decoding DPD groups with three large digits (marked as "x" in the last row of the table above), but are filled with zeros when encoding. The eight decimal values whose digits are all 8s or 9s have four codings each. The bits marked x in the table above are ignored on input, but will always be 0 in computed results. This table shows some representative decimal numbers and their encodings in BCD, Chen–Ho, and densely packed decimal (DPD): Densely packed decimal Densely packed decimal (DPD) is an efficient method for binary encoding decimal digits. The traditional system of