Fortran vs. C for numerical work (SUMMARY)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Fri Nov 30 17:03:37 AEST 1990


In article <7318 at lanl.gov> jlg at lanl.gov (Jim Giles) writes:
> The Crays have an integer multiply unit for addresses.  This mult
> takes 4 clocks.

But isn't that only for the 24-bit integer? If you want to multiply full
words you have to (internally) convert to floating point, multiply, and
convert back.

I have dozens of machines that can handle a 16MB computation; I'm not
gonig to bother with a Cray for those. The biggest advantage of the Cray
line (particularly the Cray-2) is its huge address space.

So what's the actual time for multiplying integers?

---Dan



More information about the Comp.lang.c mailing list