Questions tagged [floating-point]

for questions about floating point arithmetic. May be about the format of the word, or an instruction set, or a particular implementation.

Filter by
Sorted by
Tagged with
36
votes
1answer
4k views

How did the 8086 interface with the 8087 FPU coprocessor?

The 8087 has many instructions - too many, it seems, to be encoded as part of the 8086 instruction set. How did the Intel 8086 interface with an Intel 8087 FPU that a user added? Consider the ...
47
votes
11answers
18k views

Why not use fractions instead of floating point?

Considering all those early home computers, the ZX Spectrum, the Galaksija, the VIC-20, the Apple I/II/III, and all of those, they all have some 8-bit CPU which does integer arithmetic and no floating ...
11
votes
3answers
951 views

Why does Sinclair BASIC have two formats for storing numbers in the same structure?

The ZX Spectrum has two formats for storing numbers, both 40 bits, or five bytes. The first is a floating point format, which consists of one exponent byte, and four mantissa bytes. The first bit of ...