version 1.5, 2010/03/04 10:17:52
|
version 1.41, 2012/12/19 09:58:26
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.12 |
RPL/2 (R) version 4.1.12 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2012 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 20
|
Line 20
|
*/ |
*/ |
|
|
|
|
#include "rpl.conv.h" |
#include "rpl-conv.h" |
|
|
|
|
/* |
/* |
Line 2108 instruction_puissance(struct_processus *
|
Line 2108 instruction_puissance(struct_processus *
|
real8 argument; |
real8 argument; |
real8 exposant; |
real8 exposant; |
|
|
integer4 troncature; |
|
|
|
integer8 tampon; |
integer8 tampon; |
|
|
logical1 drapeau; |
logical1 drapeau; |
Line 2330 instruction_puissance(struct_processus *
|
Line 2328 instruction_puissance(struct_processus *
|
{ |
{ |
f77puissanceri_(&((*((real8 *) (*s_objet_argument_2).objet))), |
f77puissanceri_(&((*((real8 *) (*s_objet_argument_2).objet))), |
&((*((integer8 *) (*s_objet_argument_1).objet))), |
&((*((integer8 *) (*s_objet_argument_1).objet))), |
&((*((real8 *) (*s_objet_resultat).objet))), &troncature); |
&((*((real8 *) (*s_objet_resultat).objet)))); |
|
|
if (troncature != 0) |
|
{ |
|
liberation(s_etat_processus, s_objet_argument_1); |
|
liberation(s_etat_processus, s_objet_argument_2); |
|
liberation(s_etat_processus, s_objet_resultat); |
|
|
|
(*s_etat_processus).exception = d_ep_overflow; |
|
return; |
|
} |
|
} |
} |
else |
else |
{ |
{ |
Line 2414 instruction_puissance(struct_processus *
|
Line 2402 instruction_puissance(struct_processus *
|
{ |
{ |
f77puissanceci_(&((*((struct_complexe16 *) (*s_objet_argument_2) |
f77puissanceci_(&((*((struct_complexe16 *) (*s_objet_argument_2) |
.objet))), &((*((integer8 *) (*s_objet_argument_1).objet))), |
.objet))), &((*((integer8 *) (*s_objet_argument_1).objet))), |
&((*((struct_complexe16 *) (*s_objet_resultat).objet))), |
&((*((struct_complexe16 *) (*s_objet_resultat).objet)))); |
&troncature); |
|
|
|
if (troncature != 0) |
|
{ |
|
liberation(s_etat_processus, s_objet_argument_1); |
|
liberation(s_etat_processus, s_objet_argument_2); |
|
liberation(s_etat_processus, s_objet_resultat); |
|
|
|
(*s_etat_processus).exception = d_ep_overflow; |
|
return; |
|
} |
|
} |
} |
else |
else |
{ |
{ |
Line 3114 instruction_purge(struct_processus *s_et
|
Line 3091 instruction_purge(struct_processus *s_et
|
return; |
return; |
} |
} |
|
|
if ((*s_etat_processus).s_liste_variables[(*s_etat_processus) |
if ((*(*s_etat_processus).pointeur_variable_courante).objet == NULL) |
.position_variable_courante].objet == NULL) |
|
{ |
{ |
liberation(s_etat_processus, s_objet); |
liberation(s_etat_processus, s_objet); |
|
|
Line 3154 instruction_purge(struct_processus *s_et
|
Line 3130 instruction_purge(struct_processus *s_et
|
return; |
return; |
} |
} |
|
|
if ((*s_etat_processus).s_liste_variables[(*s_etat_processus) |
if ((*(*s_etat_processus).pointeur_variable_courante).objet == NULL) |
.position_variable_courante].objet == NULL) |
|
{ |
{ |
liberation(s_etat_processus, s_objet); |
liberation(s_etat_processus, s_objet); |
|
|