encyclopegia.org

Real data type

A real data type is a data type used in a computer program to represent an approximation of a real number.[src] Because the real numbers are not countable, computers cannot represent them exactly using a finite amount of information.[src] Most often, a computer will use a rational approximation to a real number.[src]

A real data type is a data type used in a computer program to represent an approximation of a real number.[src] Because the real numbers are not countable, computers cannot represent them exactly using a finite amount of information.[src] Most often, a computer will use a rational approximation to a real number.[src] ==Rational numbers== The most general data type for a rational number (a number that can be expressed as a fraction) stores the numerator and the denominator as integers.[src] For example 1/3, which can be calculated to any desired precision.[src] Rational numbers are used, for example, in Interpress from Xerox Corporation.[1] ==Fixed-point numbers== A fixed-point data type uses the same, implied, denominator for all numbers.[src] The denominator is usually a power of two.[src] For example, in a hypothetical fixed-point system that uses the denominator 65,536 (2 16 ), the hexadecimal number 0x12345678 (0x1234.5678 with sixteen fractional bits to the right of the assumed radix point) means 0x12345678/65536 or 305419896/65536, 4660 + the fractional value 22136/65536, or about 4660.33777.[src] An integer is a fixed-point number with a fractional part of zero.[src] ==Floating-point numbers== A floating-point data type is a compromise between the flexibility of a general rational number data type and the speed of fixed-point arithmetic.[src] It uses some of the bits in the data type to specify an exponent for the denominator, today usually power of two although both ten and sixteen have been used.[src] ==Decimal numbers== The decimal type is similar to fixed-point or floating-point data type, but with a denominator that is a power of 10 instead of a power of 2.[src] ==See also== Binary number Decimal number Hexadecimal number IEEE Standard for Floating-Point Arithmetic ==References==[src]

17 sentences · 17 cited inline · 2 references stored

References

  1. Sproull, Robert F.; Reid, Brian K. (June 1983). Introduction to Interpress (PDF) . Xerox Corporation. p. 19 . Retrieved February 11, 2024 . Wikipedia revision 1367154124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1367154124
    Cite this reference

    MLA "Sproull, Robert F.; Reid, Brian K. (June 1983). Introduction to Interpress (PDF) . Xerox Corporation. p. 19 . Retrieved February 11, 2024 . Wikipedia revision 1367154124, retrieved 2026-11-18." Sproull, Robert F. 2026-11-17. https://bitsavers.org/pdf/xerox/interpress/XSIG_038306_Introduction_to_Interpress_Jun1983.pdf. Accessed 25 November 2026.

    Chicago "Sproull, Robert F.; Reid, Brian K. (June 1983). Introduction to Interpress (PDF) . Xerox Corporation. p. 19 . Retrieved February 11, 2024 . Wikipedia revision 1367154124, retrieved 2026-11-18." Sproull, Robert F. 2026-11-17. https://bitsavers.org/pdf/xerox/interpress/XSIG_038306_Introduction_to_Interpress_Jun1983.pdf.

    APA Sproull, Robert F. (2026). Sproull, Robert F.; Reid, Brian K. (June 1983). Introduction to Interpress (PDF) . Xerox Corporation. p. 19 . Retrieved February 11, 2024 . Wikipedia revision 1367154124, retrieved 2026-11-18. Retrieved November 25, 2026, from https://bitsavers.org/pdf/xerox/interpress/XSIG_038306_Introduction_to_Interpress_Jun1983.pdf

  2. IBM 32-bit Numbers · retrieved 2026-11-17 · rev 1367154124
    Cite this reference

    MLA "IBM 32-bit Numbers." 2026-11-17. https://nssdc.gsfc.nasa.gov/nssdc/formats/IBM_32-Bit.html. Accessed 25 November 2026.

    Chicago "IBM 32-bit Numbers." 2026-11-17. https://nssdc.gsfc.nasa.gov/nssdc/formats/IBM_32-Bit.html.

    APA encyclopegia.org. (2026). IBM 32-bit Numbers. Retrieved November 25, 2026, from https://nssdc.gsfc.nasa.gov/nssdc/formats/IBM_32-Bit.html

Cite this article

MLA

"Real data type." encyclopegia.org, 2026, https://encyclopegia.org/wiki/real-data-type. Accessed 25 November 2026.

Chicago

"Real data type." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/real-data-type.

APA

encyclopegia.org. (2026). Real data type. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/real-data-type

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ciudad Real

stub · references available

The Real McCoy

stub · references available

blood type

stub · references available

Real Betis Baloncesto

stub · references available

Province of Ciudad Real

stub · references available

Type 69 tank

stub · references available

Real

stub · references available

solar-type star

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1367154124 · 0.5 · snapshot enwiki-001367154124

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.