home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.edu:1537 comp.lang.fortran:3430 comp.lang.misc:2936 comp.arch:9233 sci.math:11001
- Path: sparky!uunet!ogicse!usenet.coe.montana.edu!decwrl!purdue!mentor.cc.purdue.edu!pop.stat.purdue.edu!hrubin
- From: hrubin@pop.stat.purdue.edu (Herman Rubin)
- Newsgroups: comp.edu,comp.lang.fortran,comp.lang.misc,comp.arch,sci.math
- Subject: Re: Scientists as Programmers (was Re: Small Language Wanted)
- Message-ID: <Bu2DnM.J4E@mentor.cc.purdue.edu>
- Date: 4 Sep 92 17:23:46 GMT
- Article-I.D.: mentor.Bu2DnM.J4E
- References: <1992Sep3.112944.20996@dbsun.uucp> <Bu08uF.HBC@mentor.cc.purdue.edu> <1992Sep4.114720.25228@dbsun.uucp>
- Sender: news@mentor.cc.purdue.edu (USENET News)
- Distribution: na
- Organization: Purdue University Statistics Department
- Lines: 25
-
- In article <1992Sep4.114720.25228@dbsun.uucp> meyer@dbsun.uucp (Don Meyer) writes:
- >In article <Bu08uF.HBC@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
- >>This is not brain-dead, but it is certainly brain-damaged. Inlining of
- >>stuff from libraries has to be done at compile time, or at most at assemble
- >>time, as at least the compiler needs to know how much space the inlined
- >>code will take. If every addition, etc., required a subroutine call,
- >>the computer would run very much slower. So one would have to use
- >>some type of language extension file at compile time, not libraries.
-
- >If you don't have floating point hardware, or if the precision need
- >surpasses that of your floating point hardware you will almost
- >certainly have a subroutine call made by the compiler anyway.
- >This is an optimization/compiler-quality issue as opposed to
- >a pure "language" issue IMHO.
-
- This is not necessarily the case. At least on some machines, one can
- handle twice that precision without calling a subroutine for floating
- point operations. For integer even triple and quadruple precision
- often should be programmed without a subroutine call.
-
- --
- Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
- Phone: (317)494-6054
- hrubin@pop.stat.purdue.edu (Internet, bitnet)
- {purdue,pur-ee}!pop.stat!hrubin(UUCP)
-