[updated 6.Dec.1996]

Librairie utiliter > Fichier encler.f

Qui appelle encler ?

line
      SUBROUTINE ENCLER (NOMBRE,IMAGE)
line
  Auteur : D.Martin (Fev.88)
  Derniere modification (D.Martin) le 6 Decembre 1996
   
  Representer le nombre NOMBRE sous forme d'une chaine de caracteres . 
  Si NOMBRE est trop grand pour etre represente (longueur de IMAGE trop
  petite) IMAGE est rempli de + ou de - selon le signe de NOMBRE . 
   
line
      INTEGER       NOMBRE
      CHARACTER*(*) IMAGE
 
      INTEGER       LONMAX,IPUIS,NEWNB,I,IPOS,J,ICONE  
line
      LONMAX=LEN (IMAGE)
      IMAGE=' '
      IF (NOMBRE.LT.0) LONMAX=LONMAX-1  
      IPUIS=1  
      NEWNB=ABS (NOMBRE)
   
      Recherche de la plus petite puissance de 10 superieure a NOMBRE 
   
      DO 1 I=1,LONMAX  
         IPUIS=10*IPUIS
         IF (NEWNB.LT.IPUIS) GOTO 5
1     CONTINUE 
   
      Cas ou le nombre ne peut etre represente dans la chaine IMAGE :  
   
      IF (NOMBRE.GT.0) THEN 
         DO 2 I=1,LONMAX
            IMAGE(I:I)='+'
2        CONTINUE
      ELSE 
         DO 3 I=1,LONMAX+1
            IMAGE(I:I)='-'
3        CONTINUE
      ENDIF
      RETURN
   
5     IPOS=LONMAX-I
      IF (NOMBRE.LT.0) THEN 
         IPOS=IPOS+1
         IMAGE(IPOS:IPOS)='-'  
      ENDIF
      DO 6 J=1,I
         IPOS=IPOS+1  
         IPUIS=IPUIS/10
         ICONE=NEWNB/IPUIS
         IMAGE(IPOS:IPOS)=CHAR(ICONE+48)  
         NEWNB=NEWNB-ICONE*IPUIS  
6     CONTINUE
                                                                    END !Encler
line
top

encler est appelé dans (161 procédures)

alfanu.f (utiliter) asmstb.f (assembl) asmstm.f (assembl)
asmtrm.f (assembl) assind.f (utiliter) asvtrm.f (assembl)
calelb.f (calelem) caleld.f (calelem) calelm.f (calelem)
calgeo.f (caldom) calnor.f (caldom) cdesse.f (cesse)
cdmovl.f (cesse) cdtran.f (cesse) cecado.f (cesse)
ceeblv.f (cesse) cessin.f (utiliter) cocogr.f (couplag)
ctmost.f (cesse) degqua.f (ef3d) donint.f (utiliter)
dskbmo.f (caltrm) dskmco.f (caltrm) dskmli.f (caltrm)
dsmadi.f (assembl) dsmcdi.f (assembl) dsmcmo.f (assembl)
ecctrm.f (sdexplo) ecdoma.f (lecgeom) ecelem.f (lecgeom)
ecmatr.f (sdexplo) ecterm.f (sdexplo) efloco.f (efloca)
elemco.f (ef3d) elemqd.f (ef3d) elxxcf.f (ef00)
elxxco.f (ef00) erdoma.f (utiliter) erdonn.f (utiliter)
erelem.f (utiliter) erinco.f (utiliter) erintg.f (integran)
ertbal.f (utiliter) erterm.f (utiliter) erters.f (utiliter)
exblok.f (sdexplo) exduvc.f (sdexplo) facind.f (utiliter)
faerr.f (syslin) feterm.f (sdexplo) gaulob.f (utiliter)
gausle.f (utiliter) gauslo.f (utiliter) gbodyr.f (grafxout)
gend.f (grafxout) gettab.f (sdexplo) gheadr.f (grafxout)
hexaxx.f (ef00) hexxar.f (ef00) hexxdl.f (ef00)
hexxfa.f (ef00) hexxfb.f (ef00) hexxqd.f (ef00)
intdeg.f (utiliter) itratr.f (integran) lcasse.f (lecdire)
lccomm.f (lecgeom) lccste.f (lecdire) lcdesg.f (lecgeom)
lcdesl.f (lecgeom) lcdonn.f (lecdire) lcgmai.f (lecgeom)
lcinte.f (lecdire) leytun.f (ef3d) literm.f (sdexplo)
luimo.f (syslin) m2uenr.f (grafxout) m2ugeo.f (grafxout)
m2ursd.f (grafxout) melis2.f (momeutil) num2dl.f (sdexplo)
numdom.f (caldom) numneu.f (glonum) opterm.f (sdexplo)
pplap2d.f (A_laplace2d) pplap3_s.f (E_2laplace3d) ppvp_lap2.f (E_3vp_lap2d)
prdtab.f (prsd) prisxx.f (ef00) prnoms.f (prsd)
prntra.f (utiliter) prntrm.f (utiliter) prntrn.f (sdexplo)
proext.f (utiliter) prtab.f (prsd) prxxar.f (ef00)
prxxdl.f (ef00) prxxfa.f (ef00) prxxfb.f (ef00)
prxxqd.f (ef00) ptxqua.f (ef3d) puttab.f (sdexplo)
quadxx.f (ef00) quxxar.f (ef00) quxxdl.f (ef00)
quxxfb.f (ef00) quxxqd.f (ef00) rdcoor.f (lecgeom)
rdnmve.f (momeutil) rdnomd.f (momeutil) rdnugl.f (lecgeom)
rederr.f (redlib) reduni.f (redlib) relbmo.f (couplag)
relcne.f (utiliter) relpre.f (couplag) sauvtb.f (alodyn)
sdexco.f (utiliter) segmxx.f (ef00) selkfb.f (ef3d)
sexxdl.f (ef00) sexxfb.f (ef00) sexxqd.f (ef00)
stinit.f (alodyn) stodln.f (utiliter) stoind.f (utiliter)
symind.f (utiliter) t1term.f (assembl) tampon.f (alodyn)
tbarti.f (alodyn) tbopen.f (alodyn) tetrxx.f (ef00)
texxar.f (ef00) texxdl.f (ef00) texxfa.f (ef00)
texxfb.f (ef00) texxqd.f (ef00) triaxx.f (ef00)
trxxar.f (ef00) trxxdl.f (ef00) trxxfb.f (ef00)
trxxqd.f (ef00) tvectt.f (utiliter) typint.f (utiliter)
vanoin.f (utiliter) vibmor.f (prsd) viplag.f (prsd)
vpinit.f (valpro) vpmise.f (valpro) vpprep.f (valpro)
wadonn.f (utiliter) wagwag.f (integran) wagwb.f (integran)
wagwbd.f (integran) watbal.f (utiliter) waterm.f (utiliter)
waw.f (integran) wawa.f (integran) wawb.f (integran)
wawbd.f (integran) wwa.f (integran)  

top