Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Elliminate the e symbol from doubles Pin
Schehaider_Aymen24-Jun-10 0:25
Schehaider_Aymen24-Jun-10 0:25 
AnswerRe: Elliminate the e symbol from doubles Pin
norish24-Jun-10 1:07
norish24-Jun-10 1:07 
GeneralRe: Elliminate the e symbol from doubles Pin
Schehaider_Aymen24-Jun-10 2:11
Schehaider_Aymen24-Jun-10 2:11 
GeneralRe: Elliminate the e symbol from doubles Pin
Richard MacCutchan24-Jun-10 2:53
mveRichard MacCutchan24-Jun-10 2:53 
QuestionHow to do Modulo (double and Big Numbers) Pin
Schehaider_Aymen23-Jun-10 21:50
Schehaider_Aymen23-Jun-10 21:50 
AnswerRe: How to do Modulo (double and Big Numbers) Pin
Richard MacCutchan23-Jun-10 21:59
mveRichard MacCutchan23-Jun-10 21:59 
GeneralRe: How to do Modulo (double and Big Numbers) Pin
Schehaider_Aymen23-Jun-10 22:07
Schehaider_Aymen23-Jun-10 22:07 
AnswerRe: How to do Modulo (double and Big Numbers) Pin
CPallini23-Jun-10 22:01
mveCPallini23-Jun-10 22:01 
Blood_HaZaRd wrote:

i have a Big Number X = 1051450100212345678903111694, so as i can't handle it into regular int, _int64, long int i used the double var type.


A double cannot handle it with the necessary accuracy, the following code
double x = 1051450100212345678903111694.;
printf("%20f",x);


outputs
1051450100212345700000000000.000000


Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: How to do Modulo (double and Big Numbers) Pin
Peter_in_278023-Jun-10 22:02
professionalPeter_in_278023-Jun-10 22:02 
GeneralRe: How to do Modulo (double and Big Numbers) Pin
Schehaider_Aymen23-Jun-10 22:10
Schehaider_Aymen23-Jun-10 22:10 
GeneralRe: How to do Modulo (double and Big Numbers) Pin
Schehaider_Aymen23-Jun-10 22:37
Schehaider_Aymen23-Jun-10 22:37 
AnswerRe: How to do Modulo (double and Big Numbers) Pin
Niklas L23-Jun-10 23:33
Niklas L23-Jun-10 23:33 
GeneralRe: How to do Modulo (double and Big Numbers) Pin
Schehaider_Aymen24-Jun-10 0:17
Schehaider_Aymen24-Jun-10 0:17 
AnswerRe: How to do Modulo (double and Big Numbers) Pin
Aescleal24-Jun-10 0:28
Aescleal24-Jun-10 0:28 
QuestionTHREAD PRIORITY Pin
MsmVc23-Jun-10 19:03
MsmVc23-Jun-10 19:03 
AnswerRe: THREAD PRIORITY Pin
«_Superman_»23-Jun-10 19:25
professional«_Superman_»23-Jun-10 19:25 
GeneralRe: THREAD PRIORITY Pin
MsmVc23-Jun-10 19:38
MsmVc23-Jun-10 19:38 
GeneralRe: THREAD PRIORITY Pin
«_Superman_»23-Jun-10 19:44
professional«_Superman_»23-Jun-10 19:44 
GeneralRe: THREAD PRIORITY Pin
MsmVc23-Jun-10 19:47
MsmVc23-Jun-10 19:47 
GeneralRe: THREAD PRIORITY Pin
Code-o-mat23-Jun-10 22:07
Code-o-mat23-Jun-10 22:07 
QuestionHow to get the SerialNumber of disk driver? Pin
whiteclouds23-Jun-10 18:22
whiteclouds23-Jun-10 18:22 
AnswerRe: How to get the SerialNumber of disk driver? Pin
David Crow24-Jun-10 3:21
David Crow24-Jun-10 3:21 
QuestionReadProcessMemory() problem Pin
ALLERSLIT23-Jun-10 13:59
ALLERSLIT23-Jun-10 13:59 
AnswerRe: ReadProcessMemory() problem Pin
Richard Andrew x6423-Jun-10 14:20
professionalRichard Andrew x6423-Jun-10 14:20 
GeneralRe: ReadProcessMemory() problem Pin
ALLERSLIT23-Jun-10 14:23
ALLERSLIT23-Jun-10 14:23 

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.