John Foust skrev:
I'm sure they didn't want to scare the bejesus
out of the first
wet-behind-the-ears CS grad who attempted to use "float" in their
C program and got a link error. So where might floats be? In graphics
code, particularly sloppy graphics code. But these days the OS includes
OpenGL and DirectX, too, which have floats galore. In user-friendly
code that showed percentages for completion or resources consumed.
And then there's scads of apps like "Calc.exe", the calculator app.
Floats don't require any floating-point unit. Scads of CALC.EXEs have been
written before the dawn of the FPU.
--
En ligne avec Thor 2.6.
If you want to program in C, program in C. It's a nice language.
I use it occasionally... :-)
--Larry Wall (perl) in <7577(a)jpl-devvax.JPL.NASA.GOV>