3. Values manipulated
It's a portable assembler. This means it can handle all the values that CPUs can handle and, conversely, it can only handle those values. This intention leads to the presence of a wide variety of integers (eight) and floats (three), but also to the absence of Booleans, bit strings and character strings. On the other hand, aggregative structures such as arrays and records are available.
3.1 Floats
There are three types of floating-point numbers in C: float, double and long double. Float numbers are a convenient finite approximation of the mathematical numbers known as real numbers, but they lack the good qualities of real numbers (in particular, associativity). These three types are related by inclusion, in the sense that any value of type float is of type double,...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Values manipulated
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
References
- (1) - KERNIGHAN (B.W.), RITCHIE (D.M.) - The C Programming Language. - Prentice-Hall (1978).
- (2) - HARBISON (S.P.), STEELE (G.L.) - C : A Reference Manual. - Prentice-Hall (1991).
Works
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!