Mail Archives: djgpp/1997/01/29/19:04:52
> On PC with FPU, all float calculations are done in double precision, so
> when you do something on a float, your machine will sometimes :
No, on ALL pcs (FPU or Emulator), all float calculations are done as
"long double" (80-bit native 387 format), so both floats and doubles
get converted.
However, many floats will get promoted to double to be passed as an
argument to a function (printf) and most math functions return double,
so using floats will result in extra conversions in those cases.
- Raw text -