0000000000000000000000000000
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 3 articles for 0.000 sec
Re: Portability and kind problems     

Group: comp.lang.fortran · Group Profile · Search for 0000000000000000000000000000 in comp.lang.fortran
Author: Dan Nagle
Date: Dec 10, 2007 06:39

...> x=x+a1 write(*,*)x x=int2*a2+a1 write(*,*)x end program test With ifort this compiles fine, and produces: $a.out -61547.0000000000000000000000000000 0.000000000000000000000000000000000E+0000 0.000000000000000000000000000000000E+0000 I get the same results also using the hp=kind(1.0e0). g95 with the latter gives: a.out ...
Show full article (2.35Kb) · Show article thread
Portability and kind problems     

Group: comp.lang.fortran · Group Profile · Search for 0000000000000000000000000000 in comp.lang.fortran
Author: David Simpson
Date: Dec 10, 2007 06:22

...*a2 write(*,*)x x=x+a1 write(*,*)x x=int2*a2+a1 write(*,*)x end program test With ifort this compiles fine, and produces: $a.out -61547.0000000000000000000000000000 0.000000000000000000000000000000000E+0000 0.000000000000000000000000000000000E+0000 I get the same results also using the hp=kind(1.0e0). g95 with the latter gives: a.out -61547....
Show full article (1.99Kb)
Re: MAX-FLOAT-DIGITS     

Group: comp.lang.forth · Group Profile · Search for 0000000000000000000000000000 in comp.lang.forth
Author: Adam Warner
Date: Sep 21, 2006 23:51

... some print routines are capable of printing the number to an arbitrary number of decimal places. In effect you've engineered a sophisticated example of, say, printing 2 as 2.0000000000000000000000000000... Yet the issue of precision still stands: [32]> (expt 2.0000000000000000d0 -256) 8.636168555094445d-78 [33]> (expt 2.0000000000000001d0 -256) 8.636168555094445d-78 2.0 is a floating ...
Show full article (2.20Kb)