Preslav Mihaylov

Speaker, Software Engineer, Technical Trainer. Passionate about computer science, presenting and playing board games

Tag: numbers

How does the binary nature of computers affect our data types

This article is part of the series What you won’t learn in the basics courses and is aimed at people who have an understanding of programming, but want to gain a more deeper insight on how things work and why do they work that way.

In the past few weeks, we have discussed the different ways computers deal with binary numbers in order to represent the numbers we are used to see – positive, negative and real. This time, we will take a step back from diving in the details of how the hardware deals with such issues andĀ focus on how do the design decisions, taken by computer architects, affect the way we represent data in our code. Particularly, we shall explore the different “features” that data types, that we use in our code, have hidden for us.

Continue reading

Introduction to binary numbers

This article is part of the series What you won’t learn in the basics courses and is aimed at people who have an understanding of programming, but want to gain a more deeper insight on how things work and why do they work that way.

Last time, we covered how does a processor work. We mentioned that he used instructions, which are encoded in numbers. But these numbers are stored in a computer in binary digits.

Today, I begin a series on posts on how binary numbers work.

Continue reading

BulgariaEnglish