Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!emory!gatech!mcnc!uvaarpa!murdoch!astsun7.astro.Virginia.EDU!gl8f From: gl8f@astsun7.astro.Virginia.EDU (Greg Lindahl) Newsgroups: comp.lang.misc Subject: Re: Learning other languages (Was: Fortran vs. C for numerical work) Message-ID: <1990Dec7.174246.11513@murdoch.acc.Virginia.EDU> Date: 7 Dec 90 17:42:46 GMT References: <13457@chaph.usc.edu> <8960031@hpfcso.HP.COM> Sender: news@murdoch.acc.Virginia.EDU Organization: Department of Astronomy, University of Virginia Lines: 22 In article <8960031@hpfcso.HP.COM> mjs@hpfcso.HP.COM (Marc Sabatella) writes: > Other than that, why is > > C = SQRT( SIN(X) + LOG(Y) ) > >perceived to be more "natural" than > > c = sqrt( sin(x) + log(y) ); Try C = ABS( SQRT(X) ) vs. c = abs( sqrt(x) ); Oops. I guess C++ has what it needs to support intrinsic functions, but that's not in C. It's not a big problem, but I perceive intrinsics as being more "natural". After all, I write "+" to add integers or floating point...