Xref: utzoo comp.lang.c:17717 comp.lang.fortran:1948 Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!akela.eng.ohio-state.edu!rob From: rob@akela.eng.ohio-state.edu (Rob Carriere) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: fortran to C converter Message-ID: <1946@quanta.eng.ohio-state.edu> Date: 17 Apr 89 18:25:14 GMT References: <1989Apr14.161147.28053@utzoo.uucp> <12169@lanl.gov> Sender: news@quanta.eng.ohio-state.edu Reply-To: rob@akela.eng.ohio-state.edu (Rob Carriere) Organization: Ohio State Univ, College of Engineering Lines: 12 In article <12169@lanl.gov> jlg@lanl.gov (Jim Giles) writes: } Class ordinary_number:: (integer, float) } } Commutative infix operator '*' is } Inline complex function mixed_mult (complex::x, ordinary_number::y) } mixed_mult.real = x.real * y } mixed_mult.imag = x.imag **** * y /* I hope ?! */ } end SR 2*i == 2i