10 likes | 129 Vues
This article explores various data types used in programming, focusing on precision and storage requirements. It covers high precision and low precision types, including integers and real numbers, along with their byte storage representations, such as 1-bit, 1-byte, and complex variables. The text delves into ASCII character representation and logical values, offering examples like "HOLA" and numeric values like "1234". Understanding these fundamentals is essential for efficient programming and data management.
E N D
Alta Precissió Alta Precissió Baixa Precissió Baixa Precissió 1 bit 1 Byte 0 1 0 0 1 1 1 1 0 1 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 0 1 1 1 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INTEGER*8 (8 Bytes) Enteres INTEGER (4 Bytes) REAL*8 (8 Bytes) Numèriques Decimals REAL (4 Bytes) Complexes Variables De Text (n Bytes, un Byte per caràcter) CHARACTER*n 1 .true. Lògiques LOGICAL (1 bit) 0 .false. = HOLA ASCII 72 ASCII 79 ASCII 76 ASCII 65 = “1234” ASCII 49 ASCII 50 ASCII 51 ASCII 52 = 1234