Subject

    Computer Science

    Topic

    Computer Fundamental

    Why can decimal 0.1 not usually be represented exactly in binary floating point?

    a)
    Its binary fraction repeats indefinitely
    b)
    It is an integer
    c)
    It requires no exponent
    d)
    Binary cannot represent fractions

    Explanation

    Decimal 0.1 has a repeating binary expansion, so finite binary floating-point formats store an approximation.

    Find Tutors

    View all Tutors