From: nma124@hotmail.com (steve_H)
Subject: Re: Who said strong typing is a benefit?
Date: 13 Oct 2002 12:31:53 -0700
Date: 2002-10-13T19:31:53+00:00 [thread overview]
Message-ID: <8db3d6c8.0210131131.712c5150@posting.google.com> (raw)
In-Reply-To: 3DA96E28.9090104@worldnet.att.net
Jim Rogers <jimmaureenrogers@worldnet.att.net> 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
next prev parent reply other threads:[~2002-10-13 19:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 1:18 Who said strong typing is a benefit? steve_H
2002-10-13 2:53 ` Jim Rogers
2002-10-13 18:27 ` Jeffrey Carter
2002-10-13 3:24 ` Richard Riehle
2002-10-13 7:10 ` tmoran
2002-10-13 13:00 ` Jim Rogers
2002-10-13 13:30 ` Florian Weimer
2002-10-13 17:28 ` Michael Bode
2002-10-13 22:07 ` Florian Weimer
2002-10-13 19:53 ` steve_H
2002-10-13 19:31 ` steve_H [this message]
2002-10-13 15:33 ` steve_H
2002-10-13 17:14 ` Larry Kilgallen
2002-10-14 1:21 ` Dmitry A.Kazakov
2002-10-13 19:42 ` steve_H
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox