floating point questions
02-Jul-91 16:53:13
Sb: #26960-floating point questions
Fm: Bob Rakosky 75156,336
To: daniel wolf 70250,626
Daniel,
You're right, of course. Unfortunately, it is not possible to take that
approach in C directly. However, using the appropriate CBM
"math….library" is almost the same, as it is doing the same thing you're
doing (and is written in assembler). I haven't done any benchmarks
personally – I _never_ use FP code myself. With very few exceptions, FP
isn't really needed for most applications, and is significantly slower than
equivalent integer-based algorithms.
…BobR