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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,c89924cb7c8c5a42 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-13 12:31:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: nma124@hotmail.com (steve_H) Newsgroups: comp.lang.ada Subject: Re: Who said strong typing is a benefit? Date: 13 Oct 2002 12:31:53 -0700 Organization: http://groups.google.com/ Message-ID: <8db3d6c8.0210131131.712c5150@posting.google.com> References: <8db3d6c8.0210121718.25cf55e4@posting.google.com> <%%8q9.21249$rz6.2550@sccrnsc02> <3DA96E28.9090104@worldnet.att.net> NNTP-Posting-Host: 63.203.198.30 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1034537513 4336 127.0.0.1 (13 Oct 2002 19:31:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 13 Oct 2002 19:31:53 GMT Xref: archiver1.google.com comp.lang.ada:29752 Date: 2002-10-13T19:31:53+00:00 List-Id: Jim Rogers wrote in message news:<3DA96E28.9090104@worldnet.att.net>... > tmoran@acm.org wrote: > > > What does the interpreter do when you add a 3D vector to a 2D vector, > > or do "if A > B" where A and B are complex, etc. I don't doubt that > > it will "perform operations no matter what" - I'm just curious what > > those operations might turn out to be. > > > > My favorite response to this kind of question is "what will Matlab do > when you take the square root of a string?" > > Jim Rogers � format long g � s=' i am a string' s = i am a string � sqrt(s) ans = Columns 1 through 3 5.65685424949238 10.2469507659596 5.65685424949238 Columns 4 through 6 9.8488578017961 10.4403065089106 5.65685424949238 Columns 7 through 9 9.8488578017961 5.65685424949238 10.7238052947636 Columns 10 through 12 10.770329614269 10.6770782520313 10.2469507659596 Columns 13 through 14 10.4880884817015 10.1488915650922