Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Check Mouse on desktop Pin
Malli_S7-Oct-08 21:19
Malli_S7-Oct-08 21:19 
AnswerRe: Check Mouse on desktop Pin
BetulSahin7-Oct-08 22:07
BetulSahin7-Oct-08 22:07 
Questionpointer sized data of poi command Pin
George_George7-Oct-08 20:57
George_George7-Oct-08 20:57 
QuestionHow to download only images from the webpage Pin
Sandeep Saini SRE7-Oct-08 20:55
Sandeep Saini SRE7-Oct-08 20:55 
AnswerRe: How to download only images from the webpage Pin
Hamid_RT7-Oct-08 21:04
Hamid_RT7-Oct-08 21:04 
QuestionConvert Fortran Code Pin
Trupti Mehta7-Oct-08 20:43
Trupti Mehta7-Oct-08 20:43 
AnswerRe: Convert Fortran Code Pin
Saurabh.Garg7-Oct-08 21:12
Saurabh.Garg7-Oct-08 21:12 
QuestionRe: Convert Fortran Code Pin
CPallini7-Oct-08 23:03
mveCPallini7-Oct-08 23:03 
<blockquote class="FQ"><div class="FQA">Trupti Mehta wrote:</div>IEEE756</blockquote>
Never head about. Do you mean IEEE 754?


Trupti Mehta wrote:
I believe the data types of C++ and Java are based on same whereas of Fortran double precision is based on IEEE756. I want to know how to convert these double precision calculations into C++ normally. For example:


double precision d1 = 0.3648564D0;d1**2 // ** indicates exponentDSIN(d1) // sin of double precisionDCOS(d1) // cos of double precision

Even if the FORTRAN double precision would based on a different standard, I believe the results of both programs (i.e. the FORTRAN and the Java one) should be comparable. Are you sure the logic of your translation is correct?
Have you made a test to compare the results (given by FORTRAN vs Java) of such simple functions as sin and cos?
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]

QuestionYielding Messages.... Pin
Peter Weyzen7-Oct-08 19:23
Peter Weyzen7-Oct-08 19:23 
AnswerRe: Yielding Messages.... Pin
Roger Stoltz7-Oct-08 22:24
Roger Stoltz7-Oct-08 22:24 
GeneralRe: Yielding Messages.... Pin
Peter Weyzen7-Oct-08 22:33
Peter Weyzen7-Oct-08 22:33 
GeneralRe: Yielding Messages.... Pin
Mark Salsbery8-Oct-08 5:55
Mark Salsbery8-Oct-08 5:55 
QuestionThread question Pin
monsieur_jj7-Oct-08 19:19
monsieur_jj7-Oct-08 19:19 
AnswerRe: Thread question Pin
Michael Dunn7-Oct-08 19:37
sitebuilderMichael Dunn7-Oct-08 19:37 
GeneralRe: Thread question Pin
monsieur_jj7-Oct-08 20:05
monsieur_jj7-Oct-08 20:05 
GeneralRe: Thread question Pin
Cedric Moonen7-Oct-08 20:12
Cedric Moonen7-Oct-08 20:12 
GeneralRe: Thread question Pin
monsieur_jj7-Oct-08 20:23
monsieur_jj7-Oct-08 20:23 
GeneralRe: Thread question Pin
Cedric Moonen7-Oct-08 20:29
Cedric Moonen7-Oct-08 20:29 
QuestionFunction calling in header file Pin
Davitor7-Oct-08 19:05
Davitor7-Oct-08 19:05 
AnswerRe: Function calling in header file Pin
ThatsAlok7-Oct-08 19:18
ThatsAlok7-Oct-08 19:18 
GeneralRe: Function calling in header file Pin
Davitor7-Oct-08 19:26
Davitor7-Oct-08 19:26 
GeneralRe: Function calling in header file Pin
ThatsAlok7-Oct-08 20:00
ThatsAlok7-Oct-08 20:00 
AnswerRe: Function calling in header file Pin
Cedric Moonen7-Oct-08 20:15
Cedric Moonen7-Oct-08 20:15 
AnswerRe: Function calling in header file Pin
CPallini7-Oct-08 23:06
mveCPallini7-Oct-08 23:06 
AnswerRe: Function calling in header file Pin
Bram van Kampen8-Oct-08 9:03
Bram van Kampen8-Oct-08 9:03 

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.