Click here to Skip to main content
15,909,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can anyone help how to find summation of float number? Pin
CPallini30-Jul-14 1:11
mveCPallini30-Jul-14 1:11 
GeneralRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 1:17
mybm130-Jul-14 1:17 
QuestionRe: can anyone help how to find summation of float number? Pin
CPallini30-Jul-14 2:00
mveCPallini30-Jul-14 2:00 
AnswerRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 2:32
mybm130-Jul-14 2:32 
GeneralRe: can anyone help how to find summation of float number? Pin
CPallini30-Jul-14 20:18
mveCPallini30-Jul-14 20:18 
GeneralRe: can anyone help how to find summation of float number? Pin
enhzflep30-Jul-14 1:18
enhzflep30-Jul-14 1:18 
GeneralRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 1:31
mybm130-Jul-14 1:31 
GeneralRe: can anyone help how to find summation of float number? Pin
enhzflep30-Jul-14 2:04
enhzflep30-Jul-14 2:04 
Certainly.
Both your code and the pseudo-code in the wiki page that CPallini linked to appear quite similar. This, combined with your mention of the result only being an approximation seems to further support your need for a more accurate result of summing. (which the method may facilitate)

modified 30-Jul-14 8:12am.

GeneralRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 2:34
mybm130-Jul-14 2:34 
AnswerRe: can anyone help how to find summation of float number? Pin
Satya Chamakuri8-Aug-14 21:17
Satya Chamakuri8-Aug-14 21:17 
QuestionFortran 4 crash when call Write(*, *) Pin
Andraw11129-Jul-14 9:49
Andraw11129-Jul-14 9:49 
QuestionRe: Fortran 4 crash when call Write(*, *) Pin
David Crow29-Jul-14 14:20
David Crow29-Jul-14 14:20 
QuestionObject cloning Pin
Member 199339429-Jul-14 5:35
Member 199339429-Jul-14 5:35 
AnswerRe: Object cloning Pin
Shmuel Zang29-Jul-14 19:54
Shmuel Zang29-Jul-14 19:54 
JokeRe: Object cloning Pin
«_Superman_»29-Jul-14 20:03
professional«_Superman_»29-Jul-14 20:03 
AnswerRe: Object cloning Pin
«_Superman_»29-Jul-14 20:02
professional«_Superman_»29-Jul-14 20:02 
AnswerRe: Object cloning Pin
Orjan Westin31-Jul-14 5:08
professionalOrjan Westin31-Jul-14 5:08 
QuestionWhat MFC class applies to the listbox control in VS2010 resource editor? Pin
Member 1095872129-Jul-14 0:58
Member 1095872129-Jul-14 0:58 
AnswerRe: What MFC class applies to the listbox control in VS2010 resource editor? Pin
«_Superman_»29-Jul-14 1:53
professional«_Superman_»29-Jul-14 1:53 
QuestionNot able to find the square of the floating number ... Pin
mybm128-Jul-14 21:20
mybm128-Jul-14 21:20 
AnswerRe: Not able to find the square of the floating number ... Pin
Jochen Arndt28-Jul-14 21:29
professionalJochen Arndt28-Jul-14 21:29 
GeneralRe: Not able to find the square of the floating number ... Pin
mybm128-Jul-14 23:22
mybm128-Jul-14 23:22 
GeneralRe: Not able to find the square of the floating number ... Pin
Jochen Arndt29-Jul-14 0:32
professionalJochen Arndt29-Jul-14 0:32 
AnswerRe: Not able to find the square of the floating number ... Pin
CPallini29-Jul-14 0:25
mveCPallini29-Jul-14 0:25 
GeneralRe: Not able to find the square of the floating number ... Pin
mybm129-Jul-14 1:52
mybm129-Jul-14 1:52 

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.