Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the technical word associated to the binary representation of types?

I am currently writing a function that tests endianness and sizeof() fundamental types in C++ in order to dectect if the system/compiler is "classic" or non-standard. I search a name for this function, like checkSystemSOMETHING() but I don't know the word associated to things like binary representation of types or endianness. What would be the best word to replace SOMETHING ?

like image 342
Vincent Avatar asked Nov 02 '12 23:11

Vincent


People also ask

What is a binary in technical terms?

Binary describes a numbering scheme in which there are only two possible values for each digit -- 0 or 1 -- and is the basis for all binary code used in computing systems. These systems use this code to understand operational instructions and user input and to present a relevant output to the user.

What is a binary representation?

Binary is a base-2 number system that uses two states 0 and 1 to represent a number. We can also call it to be a true state and a false state. A binary number is built the same way as we build the normal decimal number. For example, a decimal number 45 can be represented as 4*10^1+5*10^0 = 40+5.

How are words represented in binary?

The ASCII code takes each character on the keyboard and assigns it a binary number. For example: the letter 'a' has the binary number 0110 0001 (this is the denary number 97) the letter 'b' has the binary number 0110 0010 (this is the denary number 98)


1 Answers

It is "data model". Relevant again after the long stability of 32-bit computing, different choices were made in 64-bit architectures. Windows is LLP64, Linux is LP64. Reference is here.

like image 164
Hans Passant Avatar answered Nov 15 '22 05:11

Hans Passant