Click here to Skip to main content
15,899,825 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-B24-Jan-17 23:57
Chris C-B24-Jan-17 23:57 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Jochen Arndt25-Jan-17 0:08
professionalJochen Arndt25-Jan-17 0:08 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
Chris C-B25-Jan-17 0:20
Chris C-B25-Jan-17 0:20 
GeneralRe: Distribution of floating-point operations in scientific computing Pin
DaveAuld25-Jan-17 1:11
professionalDaveAuld25-Jan-17 1:11 
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 
Daniel Pfeffer wrote:
I'm writing a floating-point package in C++
That was not clear from your original question.

So I will dig in here:

I would not think about that. All basic operations will be used often (more or less) and should be therefore optimised as far as possible.

Because division is the slowest operation it might be the first candidate even used probably less than the other operations. When a calculation uses divisions, a better implementation would probably reduce the overall calculation time by a greater factor than without division optimsation but with addition and multiplication optimisation.
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 
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 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   476 votes