Real Data Type - Floating Point Numbers

Floating Point Numbers

A "floating point" type is a compromise between the flexibility of a general rational type and the speed of fixed-point arithmetic. It uses some of the bits in the data type to specify a power of two for the denominator. See floating point and IEEE Floating Point Standard.


Data types
Uninterpreted
  • Bit
  • Byte
  • Trit
  • Tryte
  • Word
Numeric
  • Integer
    • signedness
  • Fixed-point
  • Floating-point
  • Rational
  • Complex
  • Bignum
  • Interval
  • Decimal
Text
  • Character
  • String
    • null-terminated
Pointer
  • Address
    • physical
    • virtual
  • Reference
Composite
  • Algebraic data type
    • generalized
  • Array
  • Associative array
  • Class
  • List
  • Object
    • Metaobject
  • Option type
  • Product
  • Record
  • Set
  • Union
    • tagged
Other
  • Boolean
  • Bottom type
  • Collection
  • Enumerated type
  • Exception
  • Function type
  • Opaque data type
  • Recursive data type
  • Semaphore
  • Stream
  • Top type
  • Type class
  • Unit type
  • Void
Related topics
  • Type system
  • Abstract data type
  • Data structure
  • Protocol
    • Interface
  • Kind
    • Metaclass
  • Primitive data type
  • Subtyping
  • Generic
  • Type constructor
  • Type conversion
  • Parametric polymorphism

Read more about this topic:  Real Data Type

Famous quotes containing the words floating, point and/or numbers:

    The structure was designed by an old sea captain who believed that the world would end in a flood. He built a home in the traditional shape of the Ark, inverted, with the roof forming the hull of the proposed vessel. The builder expected that the deluge would cause the house to topple and then reverse itself, floating away on its roof until it should land on some new Ararat.
    —For the State of New Jersey, U.S. public relief program (1935-1943)

    An accent mark, perhaps, instead of a whole western accent—a point of punctuation rather than a uniform twang. That is how it should be worn: as a quiet point of character reference, an apt phrase of sartorial allusion—macho, sotto voce.
    Phil Patton (b. 1953)

    The only phenomenon with which writing has always been concomitant is the creation of cities and empires, that is the integration of large numbers of individuals into a political system, and their grading into castes or classes.... It seems to have favored the exploitation of human beings rather than their enlightenment.
    Claude Lévi-Strauss (b. 1908)