comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Interesting Rant
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Interesting Rant [message #51387 is a reply to message #51293] Wed, 15 November 2006 10:24 Go to previous messageGo to previous message
fburton is currently offline  fburton
Messages: 19
Registered: June 2003
Junior Member
In article <1163605646.246847.326220@i42g2000cwa.googlegroups.com>,
Braedley <mike.braedley@gmail.com> wrote:
> His comments about the 7/2 by themselves tell me that he doesn't know
> jack about programming. I know for sure that at least 2 of the 4
> competing languages (the C family, Java and possibly Maltab) all do the
> exact same thing as IDL. EXACT! (Okay, maybe Matlab doesn't, I
> haven't used it in 8 months.) The fourth is Maple, and it may still do

In MATLAB, both 7/2 and 7/2. evaluate to 3.5 (displayed as
3.5000 by default).

Imho, Delphi/Pascal does the sensible thing by requiring the
programmer to distinguish between real and integer division
through use of separate / and div binary operators, leading
to fewer nasty surprises.

Francis
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Color background with PLOT
Next Topic: Re: Image warping in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:29:10 PDT 2025

Total time taken to generate the page: 0.00507 seconds