x87
ghosts
1 · FOV & FPTAN
2 · FMA contraction
3 · FX15 & −0.5 shift
note
256-bit BigInt FPTAN model
fov half-angle & x87 control word
FOVAngle
74.99874°
74.99874° (00_Intro)
75°
90°
midpoint trap
FPU CW:
0x007f · PC 24 (Render pass)
0x027f · PC 53 (Win32 init)
0x037f · PC 64 (Game thread)
640px
1024px
1280px
80-bit x87 extended register — tan(fov · π/360)
sign (1b)
exponent (15b)
explicit int (1b)
PC 24 kept (23b)
PC 53 extra (29b)
PC 64 extra (11b)
ULodMesh::GetFrame — Pentium II (a*b)+c vs GPU FMA(a,b,c)
a (axis)
0.7071068
b (vert)
31.90000
c (accum)
-22.55671
32-bit binary32 output bits (differing bits highlighted in amber)
Pentium II x87 PC 24 — separate
FMUL
then
FADD
:
Modern GPU / Metal — contracted
fma(a, b, c)
(single rounding):
Render.dll FX15 & D3DDrv −0.5 pixel-center shift
FX15: (W + 1.0001)·0.5
D3DDrv: −0.5 vertex bias
show naive diff overlay
width
24 px