Re: BYTSCL bug!? [message #65440] |
Wed, 04 March 2009 07:30 |
spidersapiens
Messages: 6 Registered: June 2006
|
Junior Member |
|
|
On Mar 4, 6:35 am, Bennett <juggernau...@gmail.com> wrote:
> On Mar 3, 5:14 pm, David Fanning <n...@dfanning.com> wrote:
>
>
>
>> Michael Galloy writes:
>>> I would contact support, I'm not sure anyone reads the forums.
>
>> I don't know why, but what flashed into my mind
>> when I read this was that wonderful haiku poem
>> of Issa's;
>
>> Children imitating cormorants
>> Are even more wonderful than cormorants.
>
>> Although it went though my head like this.
>
>> Snarks without emoticons
>> Are even more wonderful than emoticons.
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Coyote's Guide to IDL Programming (www.dfanning.com)
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Maybe they very well meant this...
> IDL> print, (2+1)*(((9065-4124)-1)/(18946-4124))
> 0
> Put the parentheses in the wrong place and you'll get different
> arithmetic. So it would be either wrong documentation or wrong
> implementation. Bad either way.
Bennett,
That's a good guess. Thanks! I just tried that. Unfortunately, it's
still not matching the result from BYTSCL on my dataset.
Mingming
|
|
|
|
Re: BYTSCL bug!? [message #65446 is a reply to message #65441] |
Wed, 04 March 2009 03:35  |
Juggernaut
Messages: 83 Registered: June 2008
|
Member |
|
|
On Mar 3, 5:14 pm, David Fanning <n...@dfanning.com> wrote:
> Michael Galloy writes:
>> I would contact support, I'm not sure anyone reads the forums.
>
> I don't know why, but what flashed into my mind
> when I read this was that wonderful haiku poem
> of Issa's;
>
> Children imitating cormorants
> Are even more wonderful than cormorants.
>
> Although it went though my head like this.
>
> Snarks without emoticons
> Are even more wonderful than emoticons.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Maybe they very well meant this...
IDL> print, (2+1)*(((9065-4124)-1)/(18946-4124))
0
Put the parentheses in the wrong place and you'll get different
arithmetic. So it would be either wrong documentation or wrong
implementation. Bad either way.
|
|
|
Re: BYTSCL bug!? [message #65450 is a reply to message #65446] |
Tue, 03 March 2009 14:14  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Michael Galloy writes:
> I would contact support, I'm not sure anyone reads the forums.
I don't know why, but what flashed into my mind
when I read this was that wonderful haiku poem
of Issa's;
Children imitating cormorants
Are even more wonderful than cormorants.
Although it went though my head like this.
Snarks without emoticons
Are even more wonderful than emoticons.
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: BYTSCL bug!? [message #65451 is a reply to message #65450] |
Tue, 03 March 2009 14:06  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
Mingming wrote:
> Thanks David. I have posted the same thing on their user forum.
> Hopefully their programmers can see it asap. I will keep you guys
> posted here.
I would contact support, I'm not sure anyone reads the forums.
Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
|
|
|
Re: BYTSCL bug!? [message #65453 is a reply to message #65451] |
Tue, 03 March 2009 11:55  |
spidersapiens
Messages: 6 Registered: June 2006
|
Junior Member |
|
|
On Mar 3, 2:45 pm, David Fanning <n...@dfanning.com> wrote:
> Mingming writes:
>> This is frustrating me a lot because I need to duplicate the exactly
>> same numeric results in Java. But with this buggy BYTSCL, it's almost
>> impossible to duplicate its behavior. Anybody has any idea what
>> formula they're using internally?
>
> I think you are asking the wrong people. Why don't
> you ask the good folks at ITTVIS and report back
> here with what they say.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thanks David. I have posted the same thing on their user forum.
Hopefully their programmers can see it asap. I will keep you guys
posted here.
|
|
|
Re: BYTSCL bug!? [message #65454 is a reply to message #65453] |
Tue, 03 March 2009 11:45  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mingming writes:
> This is frustrating me a lot because I need to duplicate the exactly
> same numeric results in Java. But with this buggy BYTSCL, it's almost
> impossible to duplicate its behavior. Anybody has any idea what
> formula they're using internally?
I think you are asking the wrong people. Why don't
you ask the good folks at ITTVIS and report back
here with what they say.
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|