1e30
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 5 articles for 0.000 sec
Re: Why zero is represented by an extremely small value?     

Group: comp.lang.fortran · Group Profile · Search for 1e30 in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Jul 25, 2007 15:58

... more about the two sides of zero. I am not so sure what you are asking. If you have two floating point single precision values that are as close as they can be without being equal, the difference will be about 1e-7 times either value. If the actual value was, for example, 1e37 the difference could be 1e30. If the values were around 10, the difference would be around 1e-6. -- glen
Show full article (0.74Kb) · Show article thread
Re: Fortran DINT help     

Group: comp.lang.fortran · Group Profile · Search for 1e30 in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Apr 30, 2007 10:42

...has a someone different use from INT. DINT and AINT are used when one wants to truncate the fractional part of a floating point value, but keep it in floating point form. The results if AINT(1e30) and INT(1e30) will likely be different (until 128 bit processors become popular). I still believe that DFLOAT(i) is easier to read than REAL(i,KIND(1.d0)), but I probably wouldn't use DINT ...
Show full article (1.06Kb)
Re: Any suggestion for code to format REAL in a narrow column?     

Group: comp.lang.fortran · Group Profile · Search for 1e30 in comp.lang.fortran
Author: Colin Watters
Date: Feb 16, 2007 12:54

...endif !c write(6,100) a,c,r,error,flag if(error.gt.bb) then write(fff,100) a,c,r,error,flag bb=error endif count=count+1 if(abs(a).gt.1e30) goto 2 1 continue 2 continue print *,fff if(a.lt.0.) stop bb=0. a=-1e-30 goto 10 100 format(g14.7,2x,a11,2x,g14.7,2x,g14.7,2x,a)...
Show full article (27.82Kb) · Show article thread
Re: FORTRAN TYPE construct?     

Group: comp.lang.fortran · Group Profile · Search for 1e30 in comp.lang.fortran
Author: andrew.mallner
Date: Sep 19, 2006 08:41

... nearest points. The Fortran 77 version has a call like: CALL SPLINE(X,Y,N,YP1,YPN,Y2) with X, Y, and Y2 dimensioned N. YP1 and YPN are the input first derivative at the end points, or 1e30 to set the second derivative to zero at the end for a natural spline. A newer version presumably doesn't need N, but should still need YP1 and YPN. -- glen
Show full article (1.67Kb) · Show article thread
Re: FORTRAN TYPE construct?     

Group: comp.lang.fortran · Group Profile · Search for 1e30 in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Sep 18, 2006 17:22

... Y'' values at the two nearest points. The Fortran 77 version has a call like: CALL SPLINE(X,Y,N,YP1,YPN,Y2) with X, Y, and Y2 dimensioned N. YP1 and YPN are the input first derivative at the end points, or 1e30 to set the second derivative to zero at the end for a natural spline. A newer version presumably doesn't need N, but should still need YP1 and YPN. -- glen
Show full article (1.13Kb) · Show article thread