| Thread Tools | Search this thread |
|---|
taka2488
| July 7, 2009 7:20 AM PDT floating point problem?. | ||||
Hi, I use Intel fortran compiler. My problem is the executed result of ivf (Intel Visual Fortran) project is different from that of cvf (Compaq Visual Fortran) project. Both has the same code. For example, ## sample code ####################################### PROGRAM float P=0.9935059 P0=1.03323 C P=AMIN1(500.0,P+P0)-P0 C WRITE(6,*) P END ###################################################### This result is 0.9935058 in ivf 0.9935059 in cvf . I think cvf result is currect. Please teach me this problem. cf, This ivf project was converted from cvf. and This is my lacktop specification. OS : Windows Server 2003 CPU : Intel(R) Xeon(R) CPU E5335 @ 2.00GHz | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 8285 users have contributed to 31229 threads and 99107 posts to date. |
|---|
| In the past 24 hours, we have 9 new thread(s) 39 new posts(s), and 55 new user(s). In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing... Escalated as Please welcome our newest member tvinni |