Click here to Skip to main content
15,905,915 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: Seeing double, or doublethink Pin
harold aptroot19-Dec-16 0:06
harold aptroot19-Dec-16 0:06 
GeneralRe: Seeing double, or doublethink Pin
Chris C-B19-Dec-16 0:29
Chris C-B19-Dec-16 0:29 
GeneralRe: Seeing double, or doublethink Pin
harold aptroot19-Dec-16 1:18
harold aptroot19-Dec-16 1:18 
GeneralRe: Seeing double, or doublethink Pin
OriginalGriff19-Dec-16 0:07
mveOriginalGriff19-Dec-16 0:07 
GeneralRe: Seeing double, or doublethink Pin
CDP180219-Dec-16 0:10
CDP180219-Dec-16 0:10 
GeneralRe: Seeing double, or doublethink Pin
OriginalGriff19-Dec-16 0:16
mveOriginalGriff19-Dec-16 0:16 
GeneralRe: Seeing double, or doublethink Pin
  Forogar  19-Dec-16 3:27
professional  Forogar  19-Dec-16 3:27 
GeneralRe: Seeing double, or doublethink Pin
Jochen Arndt19-Dec-16 0:33
professionalJochen Arndt19-Dec-16 0:33 
If you really want an answer you should provide more information which will make it then a programming question.

When performing complex calculations, small differences can accumulate. You might check all interim values to know where it happens.

A possible reason might be that x86 math operations using the math coprocessor (AKA x87) are performing all operations internally with their 10 byte format and convert the result to single or double precision with proper rounding upon storing to a variable in memory.

The floating point units of other CPUs - and the vector units of x86 CPUs - are using only single or double precision where the result of operations are not rounded.
GeneralRe: Seeing double, or doublethink Pin
Chris C-B19-Dec-16 0:51
Chris C-B19-Dec-16 0:51 
GeneralRe: Seeing double, or doublethink Pin
Jochen Arndt19-Dec-16 0:59
professionalJochen Arndt19-Dec-16 0:59 
GeneralRe: Seeing double, or doublethink Pin
Chris C-B19-Dec-16 1:21
Chris C-B19-Dec-16 1:21 
GeneralRe: Seeing double, or doublethink Pin
Jochen Arndt19-Dec-16 1:27
professionalJochen Arndt19-Dec-16 1:27 
GeneralRe: Seeing double, or doublethink Pin
harold aptroot19-Dec-16 1:21
harold aptroot19-Dec-16 1:21 
GeneralWSO CCC OTD 2016-12-19 Pin
OriginalGriff18-Dec-16 22:02
mveOriginalGriff18-Dec-16 22:02 
GeneralRe: WSO CCC OTD 2016-12-19 Pin
pkfox18-Dec-16 22:24
professionalpkfox18-Dec-16 22:24 
GeneralRe: WSO CCC OTD 2016-12-19 - we have a winner! Pin
OriginalGriff18-Dec-16 22:29
mveOriginalGriff18-Dec-16 22:29 
GeneralMQOTD Pin
V.18-Dec-16 21:31
professionalV.18-Dec-16 21:31 
GeneralRe: MQOTD Pin
Kornfeld Eliyahu Peter18-Dec-16 21:55
professionalKornfeld Eliyahu Peter18-Dec-16 21:55 
GeneralRe: MQOTD Pin
OriginalGriff18-Dec-16 22:21
mveOriginalGriff18-Dec-16 22:21 
GeneralRe: MQOTD Pin
Kornfeld Eliyahu Peter18-Dec-16 22:27
professionalKornfeld Eliyahu Peter18-Dec-16 22:27 
GeneralRe: MQOTD Pin
OriginalGriff18-Dec-16 22:31
mveOriginalGriff18-Dec-16 22:31 
GeneralRe: MQOTD Pin
CDP180218-Dec-16 23:50
CDP180218-Dec-16 23:50 
JokeRe: MQOTD Pin
V.18-Dec-16 23:57
professionalV.18-Dec-16 23:57 
GeneralRe: MQOTD Pin
Daniel Pfeffer18-Dec-16 22:34
professionalDaniel Pfeffer18-Dec-16 22:34 
GeneralRe: MQOTD Pin
Johnny J.18-Dec-16 23:20
professionalJohnny J.18-Dec-16 23:20 

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.