Click here to Skip to main content
15,916,398 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Chris C-B25-Jan-17 1:55
Chris C-B25-Jan-17 1:55 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Rage25-Jan-17 0:33
professionalRage25-Jan-17 0:33 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Daniel Pfeffer25-Jan-17 1:09
professionalDaniel Pfeffer25-Jan-17 1:09 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Jochen Arndt25-Jan-17 1:29
professionalJochen Arndt25-Jan-17 1:29 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Daniel Pfeffer25-Jan-17 1:59
professionalDaniel Pfeffer25-Jan-17 1:59 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Jochen Arndt25-Jan-17 2:16
professionalJochen Arndt25-Jan-17 2:16 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Daniel Pfeffer25-Jan-17 2:50
professionalDaniel Pfeffer25-Jan-17 2:50 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
patbob25-Jan-17 6:48
patbob25-Jan-17 6:48 
The distribution of operations depends on the problem set. However, you might be able to take some general guidelines from the evolution of computers themselves. Addition/subtraction came first, with floating point units being added later. If you look at those floating point units, you'll probably see that later ones implemented more operators.

On the other hand, if you look at GPUs, they've always had floating point hardware -- those problem sets were never tractable in real time until floating point hardware existed.

As for testing, the best way I found was to look at the architecture of the hardware, and design a test that tested it. For example, the old VAX FPUs used a nibble lookup table for multiplication, so I concluded that I needed to test every pattern in that lookup table to know if the hardware was OK. That did not reliably happen by simply pounding a lot of math-happy code at the FPU -- it required a specially created dataset that could be proven to be exercising each entry in the lookup table. If your hardware doesn't use a nibble lookup table, that test would likely be useless since it might not achieve full coverage.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

GeneralRe: Distribution of floating-point operations in scientific computing Pin
englebart26-Jan-17 2:27
professionalenglebart26-Jan-17 2:27 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
kalberts26-Jan-17 3:31
kalberts26-Jan-17 3:31 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
TNCaver26-Jan-17 5:05
TNCaver26-Jan-17 5:05 
GeneralI had a very wade morning :-( Pin
Kornfeld Eliyahu Peter24-Jan-17 20:56
professionalKornfeld Eliyahu Peter24-Jan-17 20:56 
GeneralTWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 PinPopular
Kornfeld Eliyahu Peter24-Jan-17 7:05
professionalKornfeld Eliyahu Peter24-Jan-17 7:05 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
dbrenth24-Jan-17 7:21
dbrenth24-Jan-17 7:21 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:26
professionalKornfeld Eliyahu Peter24-Jan-17 7:26 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
dbrenth24-Jan-17 7:37
dbrenth24-Jan-17 7:37 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:43
professionalKornfeld Eliyahu Peter24-Jan-17 7:43 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1170549025-Jan-17 3:31
Member 1170549025-Jan-17 3:31 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Jochen Arndt24-Jan-17 7:23
professionalJochen Arndt24-Jan-17 7:23 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:29
professionalKornfeld Eliyahu Peter24-Jan-17 7:29 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Jochen Arndt24-Jan-17 7:46
professionalJochen Arndt24-Jan-17 7:46 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:49
professionalKornfeld Eliyahu Peter24-Jan-17 7:49 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Marc Clifton24-Jan-17 7:30
mvaMarc Clifton24-Jan-17 7:30 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:37
professionalKornfeld Eliyahu Peter24-Jan-17 7:37 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1286378724-Jan-17 22:57
Member 1286378724-Jan-17 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.