Floating Point Math
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
Ennis Ray Lynch, Jr. wrote:
four places is good enough
:thumbsup: Four is often overkill.
You'll never get very far if all you do is follow instructions.
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
i have a couple of image processing fns which input and output BYTEs but need to convert the input to doubles for the internals because even floats run out of precision well within reasonable parameters. i'd love to be able to not have to use 24 bytes per pixel, but...
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
I would like to have a bunch of smart developers, you know the ones able to write hurricane damage simulators using only four places of precision.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
-
Why can't we have both? Not both in the same thing, but two different types, one for each. But if I had to choose, give me the fast but counter-intuitive and weird thing. You can't emulate fast. You can emulate accuracy, if necessary.
We do have both, their are libraries that allow for infinite precision just peeps don't use them because they are slow. (Infinite subject to limits of hardware)
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
We do have both, their are libraries that allow for infinite precision just peeps don't use them because they are slow. (Infinite subject to limits of hardware)
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
I would like to have a bunch of smart developers, you know the ones able to write hurricane damage simulators using only four places of precision.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
I can to it with 8 bit integers! It won't be a even slightly accurate simulation, of course, but... :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
i have a couple of image processing fns which input and output BYTEs but need to convert the input to doubles for the internals because even floats run out of precision well within reasonable parameters. i'd love to be able to not have to use 24 bytes per pixel, but...
Chris Losinger wrote:
i'd love to be able to not have to use 24 bytes per pixel,
er, bits? But, as we all know - palletized images suck when it comes to performing any real manipulation on them, since you're stuck with looking-up the 24 bit values anyway. Alpha-blending images with a pallette? :shudder: Uhhhrgh! Please dont make me do that again. Recomputing a new pallete is more effort than the image processing itself.
-
Ennis Ray Lynch, Jr. wrote:
I wrote a hurricane damage simulator
I didn't know you worked on Sim City.
Play my game Gravity: Android[^], Windows Phone 7[^]
Mine isn't nearly as accurate. Wind fields in real-life are surprisingly non-deterministic and literally change with the phase of the moon.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
Chris Losinger wrote:
i'd love to be able to not have to use 24 bytes per pixel,
er, bits? But, as we all know - palletized images suck when it comes to performing any real manipulation on them, since you're stuck with looking-up the 24 bit values anyway. Alpha-blending images with a pallette? :shudder: Uhhhrgh! Please dont make me do that again. Recomputing a new pallete is more effort than the image processing itself.
no, BYTEs. doubles are 8 bytes each. 3x8 = 24 bytes.
-
I can to it with 8 bit integers! It won't be a even slightly accurate simulation, of course, but... :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
You find yourself in a small Sailboat 10 miles East of Cuba. There is a Class 5 Hurricane approaching from the South at 10 miles per hour.
You'll never get very far if all you do is follow instructions.
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
Ennis Ray Lynch, Jr. wrote:
Most of my work four places is good enough and I wrote a hurricane damage simulator.
Well, how much precision do you need to say $15 billion (or whatever the number is in billions of dollar?) Marc
Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)
-
Query for all the naysayers ... which would you rather have fast floating point operations or 15 places of accurate precision? Most of my work four places is good enough and I wrote a hurricane damage simulator.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
Someone, somewhere, is thinking "I am a hurricane damage simulator".
cheers Chris Maunder
-
You find yourself in a small Sailboat 10 miles East of Cuba. There is a Class 5 Hurricane approaching from the South at 10 miles per hour.
You'll never get very far if all you do is follow instructions.
So, provided I can do 11 mph due north, I'm fine and dandy! (I don't want to go to Cuba today - I don't smoke)
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
So, provided I can do 11 mph due north, I'm fine and dandy! (I don't want to go to Cuba today - I don't smoke)
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
Ennis Ray Lynch, Jr. wrote:
Most of my work four places is good enough and I wrote a hurricane damage simulator.
Well, how much precision do you need to say $15 billion (or whatever the number is in billions of dollar?) Marc
Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)
You are not supposed to point out flaws in my argument!
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch
-
Depends how fast I can move, and the size and initial distance to the storm. Going west means I need to move faster than running directly away.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
Depends how fast I can move, and the size and initial distance to the storm. Going west means I need to move faster than running directly away.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)