Click here to Skip to main content
16,010,022 members
Home / Discussions / Java
   

Java

 
QuestionProcess tranferring from one client to another client Pin
madhump9-Oct-08 21:13
madhump9-Oct-08 21:13 
Questionadding new library to netbeans Pin
Areff8-Oct-08 12:42
Areff8-Oct-08 12:42 
QuestionConvert Fortran program to Java Pin
Trupti Mehta7-Oct-08 20:59
Trupti Mehta7-Oct-08 20:59 
Hi,

I have a Fortran program which I have to convert into Java originally. I have converted the code completely but can't get appropriate resutls. The code contains lot of arithmetic calculations using double precision data type of Fortran.

I believe the data types of Java are based differnt than Fortran. Fortran's double precision type is based on IEEE756. I want to know how to convert these double precision calculations into Java. For example:
double precision d1 = 0.3648564D0;
d1**2  // ** indicates exponent
DSIN(d1)  // sin of double precision
DCOS(d1)   //  cos of double precision


The above are my main concerns which I find very difficult to convert. I use Math.sin & cos for DSIN & DCOS. But Fortran 77 deals somthing differntly with double precision. How to convert/translate that into our java application is what I am looking for.

If you can provide the same for C++ that would also be a plus for me, I will use the code accordingly of Java application.

Please help me out. Am stuck up very badly.

Thanks

Terry

AnswerRe: Convert Fortran program to Java Pin
toxcct8-Oct-08 1:03
toxcct8-Oct-08 1:03 
QuestionHelp to set apache tomcat 6.0 to netbeans Pin
hamid zamani7-Oct-08 2:12
hamid zamani7-Oct-08 2:12 
AnswerRe: Help to set apache tomcat 6.0 to netbeans Pin
Pedram Behroozi8-Oct-08 7:08
Pedram Behroozi8-Oct-08 7:08 
QuestionCode Optimization Pin
TannerB6-Oct-08 12:02
TannerB6-Oct-08 12:02 
AnswerRe: Code Optimization Pin
toxcct6-Oct-08 21:26
toxcct6-Oct-08 21:26 
GeneralRe: Code Optimization Pin
TannerB7-Oct-08 7:04
TannerB7-Oct-08 7:04 
GeneralRe: Code Optimization Pin
toxcct7-Oct-08 7:11
toxcct7-Oct-08 7:11 
AnswerRe: Code Optimization Pin
douss7-Oct-08 23:19
douss7-Oct-08 23:19 
GeneralRe: Code Optimization Pin
toxcct8-Oct-08 0:34
toxcct8-Oct-08 0:34 
QuestionHelp with digest message using md5 algrothim Pin
omar el halwagy6-Oct-08 4:44
omar el halwagy6-Oct-08 4:44 
QuestionHow to debug MSJVM in Eclipse Pin
utnqbao6-Oct-08 0:50
professionalutnqbao6-Oct-08 0:50 
AnswerRe: How to debug MSJVM in Eclipse Pin
toxcct6-Oct-08 1:37
toxcct6-Oct-08 1:37 
GeneralRe: How to debug MSJVM in Eclipse Pin
utnqbao6-Oct-08 16:34
professionalutnqbao6-Oct-08 16:34 
GeneralRe: How to debug MSJVM in Eclipse Pin
utnqbao6-Oct-08 17:32
professionalutnqbao6-Oct-08 17:32 
QuestionDraw graph (networks) Pin
ventomito4-Oct-08 11:23
ventomito4-Oct-08 11:23 
AnswerRe: Draw graph (networks) Pin
douss7-Oct-08 23:38
douss7-Oct-08 23:38 
GeneralRe: Draw graph (networks) Pin
ventomito10-Oct-08 23:32
ventomito10-Oct-08 23:32 
Generaljava.util.List memory usage Pin
thrasher08154-Oct-08 10:55
thrasher08154-Oct-08 10:55 
Questionhow to close acceptandopen for streamconncetionnotifier Pin
manju23reddy2-Oct-08 18:16
manju23reddy2-Oct-08 18:16 
Questiontext twist game project help...... Pin
reanne_8830-Sep-08 21:20
reanne_8830-Sep-08 21:20 
AnswerRe: text twist game project help...... Pin
toxcct30-Sep-08 22:54
toxcct30-Sep-08 22:54 
GeneralRe: text twist game project help...... Pin
reanne_881-Oct-08 4:53
reanne_881-Oct-08 4:53 

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.