Click here to Skip to main content
15,908,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Elliminate the e symbol from doubles Pin
CPallini24-Jun-10 0:53
mveCPallini24-Jun-10 0:53 
AnswerRe: Elliminate the e symbol from doubles Pin
Niklas L24-Jun-10 0:02
Niklas L24-Jun-10 0:02 
GeneralRe: Elliminate the e symbol from doubles Pin
Schehaider_Aymen24-Jun-10 0:06
Schehaider_Aymen24-Jun-10 0:06 
GeneralRe: Elliminate the e symbol from doubles Pin
Niklas L24-Jun-10 0:15
Niklas L24-Jun-10 0:15 
GeneralRe: Elliminate the e symbol from doubles Pin
Niklas L24-Jun-10 0:17
Niklas L24-Jun-10 0:17 
AnswerRe: Elliminate the e symbol from doubles Pin
Aescleal24-Jun-10 0:22
Aescleal24-Jun-10 0:22 
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 
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 
I'm a bit confused: 0xE97804B9A34AB4E fits in an __int64 with a nibble to spare. I know it depends what your compiler is and __int64 isn't a standard type but if you've got it and it doesn't need to be portable then why not use it?

Ash

PS: I'm normally against using non-portable code but at least someone trying to compile your code for a platform with a 64 bit int would at least be warned something was up.

PPS: And if you need to store it in 32 bit values you can take advantage of some properties of ints that makes it relatively easy to calculate the modulus.
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 

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.