chris@mimsy.UUCP (Chris Torek) (01/28/88)
In article <1263@nmtsun.nmt.edu> john@nmtsun.nmt.edu (John Shipman) writes: >What about type COMPLEX? Presumably the FORTRAN-to-C translators are >generating calls to library routines to handle COMPLEX calculations. Either that, or using macros or simply inline code. While a.real = b.real * c.real - b.imag * c.imag, a.imag = b.real * c.imag + b.imag * c.real; is much uglier than A = B * C, since it is all generated automatically I doubt you will hear the computer complain. :-) What I do not understand is why FORTRAN programmers never complain about the lack of built-in quaternions. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris