Minus-dwójkowy system liczbowy

Minus-dwójkowy system liczbowy, nazywany również negabinarnympozycyjny system liczbowy, w którym podstawą jest liczba ujemna, a dokładniej −2. Do zapisu liczb w tym systemie potrzebne są, tak samo jak w systemie binarnym, cyfry 0 i 1, natomiast nie jest potrzebny znak „” dla oznaczenia liczb ujemnych. Wartość liczby w tym systemie można przedstawić następująco[1]:

gdzie to pozycja cyfry w liczbie negabinarnej, a – wartość cyfry na -tej pozycji, co przedstawia poniższa tabela:

0 1 2 3 4 5 6 7 8 9 10
1 −2 4 −8 16 −32 64 −128 256 −512 1024

W rzeczywistych zastosowaniach systemów komputerowych, negabinarny system liczbowy został opracowany w latach 50. XX w. przez matematyka, prof. Zdzisława Pawlaka i wykorzystywany w polskich komputerach typu GEO-1 i rodzinie UMC.

Porównanie z systemem dziesiętnym i dwójkowym

Liczba cyfr do zapisania liczb w systemie negabinarnym rośnie szybciej niż w systemie dwójkowym i wielokrotnie szybciej w porównaniu do zapisu dziesiętnego. Na przykład 36510, to 1011011012 (9 cyfr) i 11010111101−2 (11 cyfr).

Dziesiętnie Dwójkowo Minus-dwójkowo
1 1 1
−1 −1 11
2 10 110
−2 −10 10
3 11 111
−3 −11 1101
4 100 100
−4 −100 1100
5 101 101
6 110 11010
7 111 11011
8 1000 11000
9 1001 11001
10 1010 11110
11 1011 11111
12 1100 11100
13 1101 11101
14 1110 10010

Zobacz też

Przypisy

  1. M. Czyżak: Uwagi o historii liczenia i systemów liczbowych. Politechnika Gdańska Wydział Elektrotechniki i Automatyki. [dostęp 2015-03-30]. [zarchiwizowane z tego adresu (2015-04-05)]. (pol.).

Read other articles:

Yu XiaoguangLahirYu Liguang (于立桄)16 Mei 1981 (umur 42)Dandong, Liaoning, TiongkokAlmamaterCentral Academy of DramaSekolah Musik Lee Wei SongUniversitas Olahraga WuhanPekerjaanPemeran, komponisTahun aktif1995 – sekarangAgenBeijing Fengchi Huameng Film and Television Media Co.,LtdSuami/istriChoo Ja-hyun ​(m. 2017)​Anak1 Yu Xiaoguang Hanzi tradisional: 于曉光 Hanzi sederhana: 于晓光 Alih aksara Mandarin - Hanyu Pinyin: Yú Xiǎoguāng Karier m...

Teatro Colón Fachada del Teatro ColónLocalizaciónPaís Colombia Colombia,Localidad BarranquillaCoordenadas 10°59′10″N 74°47′02″O / 10.986245581911, -74.783966199965Información generalArquitecto Manuel CarreráApertura 23 de octubre de 1947CaracterísticasAforo 900 espectadoresSuperficie 1134 m²[editar datos en Wikidata] El Teatro Colón es una edificación que fue sala de cine de estilo art decó diseñada a mediados de los años 1940 por el arqui...

My GoddessPoster resmi種菜女神GenreRomansa, KomediPembuatiQiyi TaiwanDitulis olehWu Pei Zhen 吳佩珍Ke Yan Xin 柯雁心Lu Pei Yi 呂佩怡SutradaraLiao Shi Han 廖士涵PemeranJasper LiuAnnie ChenLee Chien-naJake HsuLagu pembukaSunburn 曬傷 oleh Waa WeiLagu penutupFar and Gone 遠走 oleh Kowen KoNegara asalRepublik TiongkokBahasa asliMandarin, TaiwanJmlh. episode24ProduksiProduser eksekutifLiao Jian Xing 廖健行Yang Yi Ping 楊以苹ProduserKer Choon Hooi 郭春暉Lokasi produksiT...

село Амури Країна  Україна Область Одеська область Район  Подільський район Громада Ананьївська міська громада Код КАТОТТГ UA51120010020011800 Основні дані Засноване 1895 Перша згадка 1895[1] Населення 149 Площа 0,85 км² Густота населення 175,29 осіб/км² Поштовий індекс 66433 Те

PretzelBerbagai bentuk pretzelJenisroti, pastriTempat asalEropa Cookbook: Pretzel  Media: Pretzel Sebuah ilustrasi dari abad 12 Hortus deliciarum dari Alsace mungkin lukisan paling tua dari sebuah pretzel, yang terlihat pada sebuah perjamuan dengan Ratu Esther dan Raja Ahasuerus Pretzel adalah sejenis kue yang berasal dari Eropa, kemungkinan besar dari Jerman. Kue ini berupa tiga simpul atau belitan. Rasanya asin dan sedikit manis. Pretzel ada yang lunak dan ada pula yang keras. Pret...

العلاقات الغانية الكوستاريكية غانا كوستاريكا   غانا   كوستاريكا تعديل مصدري - تعديل   العلاقات الغانية الكوستاريكية هي العلاقات الثنائية التي تجمع بين غانا وكوستاريكا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه الم...

French exploration ship launched in 1811 For other ships with the same name, see French ship Astrolabe and French ship Coquille. L'Astrolabe redirects here. For other uses, see astrolabe (disambiguation). History France NamesakeFrench ship Astrolabe BuilderToulon shipyard Launched1811 ChristenedCoquille, 9 July 1814 RenamedAstrolabe in 1826 FateScrapped in 1851 General characteristics Class and typeFluyt Displacement380 tonnes Length31.57 m (103.6 ft) Beam18.48 m (60.6 ft)...

Kanda MatsuriKanda Matsuri, 2009.Observed byTokyoTypeReligiousDateSaturday or Sunday nearest 15 MayRelated toFukagawa Matsuri, Sannō Matsuri Kanda Matsuri (神田祭) or the Kanda Festival, is one of the three great Shinto festivals of Tokyo, along with the Fukagawa Matsuri and Sannō Matsuri. The festival started in the early 17th century as a celebration of Tokugawa Ieyasu's decisive victory at the battle of Sekigahara and was continued as a display of the prosperity of the Tokug...

19th c. American steamship Steamship Portus B. Weare Portus B. Weare ca. 1895 History NamePortus B. Weare OwnerNorth American Transportation and Trading Company RouteSt. Michael, Alaska - Dawson City, Yukon BuilderJohn J. Holland LaunchedSeptember 17, 1892 Out of service1912 FateAbandoned 1926 or 1927 General characteristics TypeSternwheel steamship Tonnage400 GT Length175 feet (53 m) Beam28 feet (8.5 m) Draft4 feet (1.2 m) Installed power230 Horsepower Crew22 NotesOfficial Num...

1995 studio album by Zeni GevaFreedom BondageStudio album by Zeni GevaReleasedAugust 29, 1995RecordedJune 1995 at Black Box studio in FranceLength38:32LabelAlternative TentaclesProducerSteve Albini, Zeni GevaZeni Geva chronology Trance Europe Experience(1994) Freedom Bondage(1995) 10,000 Light Years(2001) Professional ratingsReview scoresSourceRatingAllmusic[1]The Austin Chronicle[2] Freedom Bondage is an album by Zeni Geva released in August 1995 via Alternative Tenta...

Indian film director and choreographer (born 1965) For the businesswoman, see Farah Khan (businesswoman). Farah Khan KunderKhan in 2016Born9 January 1965 (1965-01-09) (age 58)Bombay, Maharashtra, IndiaAlma materSt. Xavier's College, BombayOccupationsFilm directoractresstelevision presenterchoreographerwriterproducerdancerYears active1992–presentSpouse Shirish Kunder ​(m. 2004)​Children3RelativesHoney Irani (aunt)Daisy Irani (aunt)Sajid Khan (...

Canadian politician Yasir NaqviMPNaqvi in 2021Member of Parliamentfor Ottawa CentreIncumbentAssumed office September 20, 2021Preceded byCatherine McKenna39th Attorney General of OntarioIn officeJune 13, 2016 – June 29, 2018PremierKathleen WynnePreceded byMadeleine MeilleurSucceeded byCaroline MulroneyMember of the Provincial Parliamentfor Ottawa CentreIn officeOctober 10, 2007 – June 6, 2018Preceded byRichard PattenSucceeded byJoel HardenMore... Personal detailsB...

Palace Bridge drawing, an iconic sight of St. Petersburg There are more than 342 bridges in the city limits of Saint Petersburg, Russia. This is a partial list of the most famous ones. Peter the Great was designing the city as another Amsterdam and Venice, with canals instead of streets and citizens skillful in sailing. Initially, there were only about ten bridges constructed in the city, mainly across ditches and minor creeks. By Peter's plans, in the summer months, the citizens were suppose...

Historic district in Connecticut, United States United States historic placeMontauk Avenue Historic DistrictU.S. National Register of Historic PlacesU.S. Historic district Show map of ConnecticutShow map of the United StatesLocationRoughly bounded by Ocean, Willets and Riverview Avenues and Faire Harbor, New London, ConnecticutCoordinates41°20′20″N 72°6′22″W / 41.33889°N 72.10611°W / 41.33889; -72.10611Area62 acres (25 ha)ArchitectMultipleArchitectural...

2014 Polish TV series or program DepositaryRuins in Walim, PolandAlso known asDepozytariuszDirected byMateusz KudłaCountry of originPolandOriginal languagePolishProductionCinematographyArtur GłupczykRunning time12 minutesOriginal releaseRelease 2014 (2014) Depositary (Polish: Depozytariusz) is a 2014 Polish short documentary film. The film was broadcast by the Polish 24-hour news channel TVN24 and shown at the 27th Polish Film Festival, Chicago and Media Festival “Man in Da...

Storrington. Storrington adalah desa besar di distrik Horsham, Sussex Barat, Inggris, dan salah satu dari dua paroki sipil yang ada di Storrington and Sullington. Storrington terletak di sisi utara South Downs. Pada 2006, populasi desa ini sekitar 4.600 jiwa.[1] Terdapat satu jalan sebagai pusat perbelanjaan utama yang disebut High Street. Jalan A283 menghubungkan Storrington ke Steyning di timur dan Pulborough di barat. Referensi ^ Parish Population Projections Diarsipkan 2005-08-28 ...

This article is about the blues band. For other uses, see Chicken shack (disambiguation). English blues band Chicken ShackChicken Shack performing in 2016Background informationGenresBlues rockbluesYears active1965–19741976–presentLabelsBlue HorizonDeram RecordsNovaSharkWarner Music GroupGullEpic RecordsRCA RecordsSPV (Germany)Strange Fruit RecordsMysticMembersStan WebbGary DaviesJim RudgePast membersSee Members Chicken Shack are a British blues band, founded in the mid-1960s by Stan Webb ...

1954 film by Montgomery Tully Devil's PointUS theatrical release posterDirected byMontgomery TullyWritten byCharles DeaneProduced byCharles DeaneStarringRichard ArlenGreta GyntDonald HoustonMary GermaineCinematographyGeoffrey FaithfullEdited byEnid MansellPeter SeabourneProductioncompanyCharles Deane ProductionsDistributed byMonarch Film Corporation20th Century Fox (US)Release date 20 September 1954 (1954-09-20) Running time70 minutesCountryUnited KingdomLanguageEnglish Devil's...

English soldier, admiral and adventurer For other people with the same name, see George Carew (disambiguation). Vice-Admiral SirGeorge CarewSir George Carew (1504–1545)(Circle of) Hans Holbein the YoungerBornc. 1504Preston, DevonDied(1545-07-19)19 July 1545, aged c. 41Portsmouth harbour, Battle of the SolentAllegianceService/branchArmy, NavySpouse(s) Thomasine Pollard Mary Norris Arms of Carew: Or, three lions passant in pale sable Sir George Carew, c.1532-43, by Hans Holbein the Youn...

Angel in Jewish and Christian mysticism For other uses, see Ariel. Ariel, painting from the Sopo Archangels collection. Ariel (Hebrew: אֲרִיאֵל, romanized: ʾÁrīʾēl; Ancient Greek: Άριὴλ, romanized: Ariel) is an angel found primarily in Jewish and Christian mysticism and apocrypha. Bible and Mesha Stele The word Ariel appears in the Hebrew Bible and on the Mesha Stele under various spellings but not as the name of an angel. In 2 Samuel 23:20 and its parallel passag...