02-01-2006 01:02 PM - edited 02-01-2006 01:02 PM
Message Edité par Jean-Pierre Drolet le 02-01-2006 02:07 PM
LabVIEW, C'est LabVIEW
02-01-2006 01:06 PM
BTW, I don't think speed should ever take precedence over safeguards. The first requirement is that the function is predictable.
02-01-2006 01:23 PM
02-01-2006 01:31 PM - edited 02-01-2006 01:31 PM
@Jean-Pierre Drolet wrote:
I have included a VI that does what you want. Did I say that it was less accurate than Q&R?
@tbob wrote:
BTW, what is NI's take on all of this? They have been curiously silent this whole time. Will someone from NI respond?
Message Edited by JoeLabView on 02-01-2006 02:33 PM
02-01-2006 01:43 PM
"Mr. Lynn": You are trying to make this look like Anthony and tbob against the world. Don't go there.
I also agree with JPD's accuracy explanation. Even though it is accurate and correct, I can't trust the results. Even though Q&R is not to blame, I still can't trust the results. That's not good. I don't like taking a band aid approach and doing special things to ensure that I get the correct results. Well, sometimes I have to, but I still don't like it. I don't have time to do research and development on a proper Q&R algorithm for floating points, and its not my place to do such a task. This burden should fall on NI, just like any other bug, whether you call it a bug or not. It is still a problem for the entire community and should be fixed by NI. The proper fix is to leave the present Q&A alone and create a special library for floating point math. Does anyone have a problem with this solution (except for NI)?
02-01-2006 02:20 PM
Where's Ben..???
He's kept quiet on this one.. He's the Bug Reporter.. Maybe I can place a link in the bug report thread.. Or actually, tbob, you can do that as well..
Wishlist: http://forums.ni.com/ni/board/message?board.id=130&message.id=332
Feb Bug Entries: http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=1698
Or for distant family, I can enter it for you 😉
02-01-2006 02:35 PM
Molly is to smart to wander into a thread like this!
I was trying to follow her example.
I am a professed math whimp so my opinion hold little water. I will share the following thoughts.
1) If the "correct" math answer can be determined by voting, I think th eUS would be producing a lot more engineers and scientist than they are now.
2) OpenG may be interested in your work-arounds.
3) I have been told that if I could "come up with an idea that would save a lot of developers time" NI is interested.
4) Blue bars rarely step into a thread that is 50 replies deep.
5) It is better to not argue with JPD. Eventually you will ask a question that only he knows the answer to.
Ben
02-01-2006 02:41 PM
02-01-2006 04:37 PM
@chilly charly wrote:
my first instinctive move would have been to convert first the operators into integers by multiplying both by a large enough multiple of ten.
Yes... it's been done..
Actually, the one I posted starts by entering a string which is converted to a number then multiplied the 10 to the power of significant digits. Then Q&R. Results are rather accurate.. depending on the extent (spread) of the two numbers..
example x = 123456.678 & y = 12.000123456 will not give you accurate results.. 😮 for obvious reasons! 😉
You're a smart frog CC! Wishing you the best vacation, mon ami! Quand est le depart?
R.
02-01-2006 04:45 PM