Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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.")
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.
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
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.")
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.
Guys, I have contacted their support and still waiting for their response now. Mingming
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