Skip to main content

Questions tagged [floating-point]

Floating point arithmetic: number formats, instruction sets, software and hardware implementations.

15 votes
1 answer
570 views

The paper What Every Computer Scientist Should Know About Floating-Point Arithmetic uses the Cray's systems as an example of computers without a guard bit: Although most modern computers have a guard ...
Morel's user avatar
  • 153
13 votes
2 answers
2k views

I see some instructions operating on this extended format in SPARC V7 FADDx Add Extended (FPU Instruction Only) Operation: f[rd]x ← f[rs1]x + f[rs2]x Assembler Syntax: faddx fregrs1, fregrs2, fregrd ...
phuclv's user avatar
  • 4,091
28 votes
2 answers
2k views

I am writing 8086/8087 assembly code that performs floating-point operations, specifically converting numbers to scientific notation. While testing on real hardware (an IBM 5150 with a working 8087 ...
Ivo Filot's user avatar
  • 533
11 votes
2 answers
2k views

Floating point was optional on System/360, but if it was present, it included separate addition and subtraction instructions that performed postnormalization of the result, or not. Operands to all ...
Eric Smith's user avatar
4 votes
2 answers
444 views

I am trying to reproduce a program I wrote for a Office of Surface Mining scientists back in 1985 that was written on a commodore 128 in BASIC 7.0. The program performed a Monte Carlo simulation of ...
john o'brien's user avatar
21 votes
2 answers
2k views

I no longer have my ZX81 or Spectrum, nor their manuals, but I do remember that both floating-point and integer values are stored as 40-bit values (and the motivation for that is addressed in Why does ...
Toby Speight's user avatar
  • 2,059
10 votes
3 answers
2k views

I upgraded a friend's computer who only used Lotus 1-2-3, and I added memory and dropped in an 8087. Later, I found out their version of Lotus 1-2-3 didn't make use of the 8087. When did Lotus 1-2-3 ...
Miss Understands's user avatar
16 votes
4 answers
2k views

The link here is a youtube video of Exidy's Car Polo from 1977 : https://www.youtube.com/watch?v=NMljzipOy4s What blew me away when seeing it in action was the game's hitbox detection for all 4 ...
Hash's user avatar
  • 1,067
4 votes
0 answers
274 views

The other day I came across a clever way of implementing variable-length extended precision, dated 1967 (on the BESM-6, apparently as part of the system software available at the time of introduction ...
Leo B.'s user avatar
  • 22.3k
11 votes
1 answer
3k views

Quake was one of the earliest DOS games to show most gamers the importance of having a fast FPU to play with. Were there any other games (probably 3D) before Quake that started using the FPU? For ...
tigrou's user avatar
  • 699
9 votes
2 answers
474 views

The IEEE 754 floating point arithmetic working group began in 1977 and was formally accepted in 1985. One of the original driving factors of the standard itself was Intel who wanted a standard to go ...
Adam Hyland's user avatar
  • 1,082
10 votes
1 answer
2k views

I'm trying to find a single clear statement of the limits to the numbers represented in the PDP-8's three-word format. I found the original documents on this, but they are, ahem, not exactly ...
Maury Markowitz's user avatar
18 votes
1 answer
4k views

Reading over some older bits I've collected over the years, it appears that some early BASICs used a truncate for their INT function, but this was standardized on floor. Any ideas why? Poking about I ...
Maury Markowitz's user avatar
6 votes
3 answers
742 views

For a long time I thought it was kind of crazy that 8-bit Microsoft BASIC stores numeric constants in ASCII and has to parse them into its 32- or 40-bit floating point format at runtime. Why not parse ...
Willis Blackburn's user avatar
22 votes
1 answer
614 views

I'm hoping to understand a routine written for the Manchester Mark I [NOTE: a comment from Raffzahn suggests this may be the Ferranti (wikipedia link) and not the Manchester Mark I] which computes ...
Adam Hyland's user avatar
  • 1,082

15 30 50 per page
1
2 3 4 5