| 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 | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 8442 users have contributed to 31547 threads and 100373 posts to date. |
|---|
| In the past 24 hours, we have 11 new thread(s) 33 new posts(s), and 44 new user(s). In the past 3 days, the most popular thread for everyone has been /fpp interferes with breakpoints/stepping through code - again The most posts were made to Help with hitting maximum record length in the compiler with debug info? The post with the most views is You could save the pre-proce Please welcome our newest member mrnm |