From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6e70c13232dc4a26 X-Google-Attributes: gid103376,public From: dsmith@clark.net (Doug Smith) Subject: Re: logarithms on ada Date: 1997/03/06 Message-ID: #1/1 X-Deja-AN: 223583204 References: <5fcqrs$ius@panther.Gsu.EDU> Organization: Clark Internet Services, Inc. Newsgroups: comp.lang.ada Date: 1997-03-06T00:00:00+00:00 List-Id: In article , bobduff@world.std.com (Robert A Duff) wrote: > In article , Robert Dewar wrote: > >I hope not! Any decent text book should teach you early on in simple > >terms how to compute logs etc. > > Really? I would think students shouldn't be exposed to floating-point > (and therefore logs and whatnot) until fairly late in the game. I know > *I* don't understand floating point arithmetic very well, and I feel > like I'm above-average in the sense that I *know* I don't understand it > (as compared to the average programmer who seems to think floating-point > does (sort of) what we learned in grade school as rational arithmetic). > In grade-school, I was quite sure that (1/3)*3 = 1, exactly. ;-) > Of course, in those days, I had the foolish notion that God had not > deemed 2**31-1 to be equal to infinity. ;-) > > - Bob I've heard education described as a sequence of telling half-truths. There is no reason to get into the details of Ada model numbers in the class-room until it comes up or the teacher feels the student is ready. Plot a log graph. It will look OK. Learn to set loop bounds using inequalities, when appropriate, to deal with inexact computations. (Graduate school took all of my assumptions about numbers and tossed them out the window! I could just shoot some of those brilliant mathematicians that thought it was so clever to "draw outside of the lines".) Now when it's time to program that flight control module, that engineer had better understand model numbers or let someone else do it! Doug