CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Underflow in Fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 6, 2000, 02:21
Default Underflow in Fortran
Posts: n/a
I try to run such Fortran program:

a= 1.0e-25

b= 1.0e-15

c= a * b

print *,a,b,c


but Fortran compiler Salford FTN77, ver. 4.03 for Win-95 give run-time error "float underflow". Can anybody say how to remedy this and to get simply c=0.0 ? Thanks.
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Compiler-CFX12.1 Araz CFX 13 March 27, 2017 05:37
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 hawk Main CFD Forum 1 April 12, 2005 22:13
visual fortran Monica Main CFD Forum 1 August 28, 2004 20:45
Fortran77 or Fortran 90 Swapnil CFX 2 November 26, 2002 16:16
Why Favoring Fortran over C/C++? Zi-Wei Chiou Main CFD Forum 35 September 26, 2001 09:34

All times are GMT -4. The time now is 02:00.