Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!aplcomm!uunet!pmafire!mica.inel.gov!gem-hy!cdm From: cdm@gem-hy.Berkeley.EDU (Dale Cook) Newsgroups: comp.lang.fortran Subject: Re: Fortran vs. C for numerical work (SUMMARY) Message-ID: <1990Nov30.202538.23600@inel.gov> Date: 30 Nov 90 20:25:38 GMT References: <7200@lanl.gov> <2392:Nov2902:59:0590@kramden.acf.nyu.edu> <1990Nov29.040910.7400@kithrup.COM> <2630@charon.cwi.nl> Sender: news@inel.gov Reply-To: cdm@gem-hy.Berkeley.EDU (Dale Cook) Organization: Idaho National Engineering Laboratory, Idaho Falls, Idaho Lines: 36 In article <2630@charon.cwi.nl>, dik@cwi.nl (Dik T. Winter) writes: |> In article <1990Nov29.040910.7400@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: |> > In article <2392:Nov2902:59:0590@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: |> > >(I |> > >don't like this situation; converting to floating point just to multiply |> > >quickly on a Cray seems rather silly.) |> > |> > Uhm... you don't have to, I don't think. A Cyber had only one type of |> > multiply instruction, but if the exponent were 0, it did an integer |> > multiplication. I believe Cray's do the same thing. |> > |> No. The Cybers give indeed the lower half of the product of two integers |> (and the other multiply instruction gives the upper part, although that is |> not documented). The Cray returns the upper part if the two exponents are |> zero. But the Cray has a 24x24->24 bit integer multiply and as a compiler |> option you can use 24 bit integers. |> -- Not on our Cray XMP system. One has the option of 46 or 64 bit integers. --- Dale Cook cdm@inel.gov ========== long legal disclaimer follows, press n to skip =========== ^L Neither the United States Government or the Idaho National Engineering Laboratory or any of their employees, makes any warranty, whatsoever, implied, or assumes any legal liability or responsibility regarding any information, disclosed, or represents that its use would not infringe privately owned rights. No specific reference constitutes or implies endorsement, recommendation, or favoring by the United States Government or the Idaho National Engineering Laboratory. The views and opinions expressed herein do not necessarily reflect those of the United States Government or the Idaho National Engineering Laboratory, and shall not be used for advertising or product endorsement purposes. Brought to you by Super Global Mega Corp .com