Cosmonaut in a boatCosmonaut in a boat

Personal blog of Oleg Abrazhaev about programming, technologies and life

  • Just thoughts
  • -> IT <-
    • HTML and CSS
  • About me
    • Summary Resume

Language

  • EnglishEnglish
  • РусскийРусский

Categories

  • Java (1)
  • Javascript (1)
    • Vue (1)
  • Just thoughts (21)
  • Linux (1)
  • Scala (2)

Tag Cloud

algorithm a lot of money android app bot city comparison education english enjoyable job framework front-end functional functional language generation github hire html idea java JavaScript job job satisfaction js json kohana language learn linux make memcached mvc node oop php problem programming redis scala solution Ubuntu work x-team zend zend framework

Recent Comments

  • What makes Scala great functional language? - Cosmonaut in a boat on Going functional with Java?
  • Going functional with Java? - Cosmonaut in a boat on Scala to map from query string, json or xml
  • How interview process ended with X-Team ... - Cosmonaut in a boat on My comment to a “The value of the team” blog post
  • How interview process ended with X-Team ... - Cosmonaut in a boat on The third answer to a x-team with tech details
  • How interview process ended with X-Team ... - Cosmonaut in a boat on The second answer to a x-team and my career story

livelib.ru

LiveLib

Subscribe to feed

Рейтинг@Mail.ru

Tag: negabinary

Convert an integer encoded in base -2 into his negative representation with PHP

23.03.2017 by Oleg Abrazhaev·0 Comments
base -2

The task was to get from a positive integer encoded in the base -2 it’s negative equivalent in the same base. So, to solve this task we need to split it into two parts. In first one we will use a formula to get an integer from its code. And in the second part, we will encode this negative integer back to base -2.

Continue reading

Proudly powered by WordPress. Theme: Flat 1.7.11 by Themeisle.