Diff for /rpl/src/instructions_f3.c between versions 1.57 and 1.58

version 1.57, 2013/03/16 20:11:29 version 1.58, 2013/03/20 17:11:45
Line 956  instruction_fleche_row(struct_processus Line 956  instruction_fleche_row(struct_processus
                 nombre_lignes;                  nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc(nombre_lignes * sizeof(integer8 *))) == NULL)                  malloc(((size_t) nombre_lignes) * sizeof(integer8 *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;              (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
             return;              return;
Line 971  instruction_fleche_row(struct_processus Line 971  instruction_fleche_row(struct_processus
             }              }
   
             if ((((integer8 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((integer8 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] = malloc(nombre_colonnes *                      .objet)).tableau)[i] = malloc(((size_t) nombre_colonnes) *
                     sizeof(integer8))) == NULL)                      sizeof(integer8))) == NULL)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
Line 1002  instruction_fleche_row(struct_processus Line 1002  instruction_fleche_row(struct_processus
                 nombre_lignes;                  nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc(nombre_lignes * sizeof(real8 *))) == NULL)                  malloc(((size_t) nombre_lignes) * sizeof(real8 *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;              (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
             return;              return;
Line 1017  instruction_fleche_row(struct_processus Line 1017  instruction_fleche_row(struct_processus
             }              }
   
             if ((((real8 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((real8 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] = malloc(nombre_colonnes *                      .objet)).tableau)[i] = malloc(((size_t) nombre_colonnes) *
                     sizeof(real8))) == NULL)                      sizeof(real8))) == NULL)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
Line 1029  instruction_fleche_row(struct_processus Line 1029  instruction_fleche_row(struct_processus
                 for(j = 0; j < nombre_colonnes; j++)                  for(j = 0; j < nombre_colonnes; j++)
                 {                  {
                     ((real8 **) (*((struct_matrice *) (*s_objet_resultat)                      ((real8 **) (*((struct_matrice *) (*s_objet_resultat)
                             .objet)).tableau)[i][j] = ((integer8 **)                              .objet)).tableau)[i][j] = (real8) ((integer8 **)
                             (*((struct_matrice *) (*s_objet).objet))                              (*((struct_matrice *) (*s_objet).objet))
                             .tableau)[0][j];                              .tableau)[0][j];
                 }                  }
Line 1062  instruction_fleche_row(struct_processus Line 1062  instruction_fleche_row(struct_processus
                 nombre_lignes;                  nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc(nombre_lignes * sizeof(complex16 *))) == NULL)                  malloc(((size_t) nombre_lignes) * sizeof(complex16 *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;              (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
             return;              return;
Line 1077  instruction_fleche_row(struct_processus Line 1077  instruction_fleche_row(struct_processus
             }              }
   
             if ((((complex16 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((complex16 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] = malloc(nombre_colonnes *                      .objet)).tableau)[i] = malloc(((size_t) nombre_colonnes) *
                     sizeof(complex16))) == NULL)                      sizeof(complex16))) == NULL)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
Line 1089  instruction_fleche_row(struct_processus Line 1089  instruction_fleche_row(struct_processus
                 for(j = 0; j < nombre_colonnes; j++)                  for(j = 0; j < nombre_colonnes; j++)
                 {                  {
                     (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)                      (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)
                             .objet)).tableau)[i][j]).partie_reelle =                              .objet)).tableau)[i][j]).partie_reelle = (real8)
                             ((integer8 **) (*((struct_matrice *)                              ((integer8 **) (*((struct_matrice *)
                             (*s_objet).objet)).tableau)[0][j];                              (*s_objet).objet)).tableau)[0][j];
                     (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)                      (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)
Line 1351  instruction_fleche_col(struct_processus Line 1351  instruction_fleche_col(struct_processus
                 nombre_lignes;                  nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc(nombre_lignes * sizeof(integer8 *))) == NULL)                  malloc(((size_t) nombre_lignes) * sizeof(integer8 *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;              (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
             return;              return;
Line 1360  instruction_fleche_col(struct_processus Line 1360  instruction_fleche_col(struct_processus
         for(i = 0; i < nombre_lignes; i++)          for(i = 0; i < nombre_lignes; i++)
         {          {
             if ((((integer8 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((integer8 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] = malloc(nombre_colonnes *                      .objet)).tableau)[i] = malloc(((size_t) nombre_colonnes) *
                     sizeof(integer8))) == NULL)                      sizeof(integer8))) == NULL)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
Line 1400  instruction_fleche_col(struct_processus Line 1400  instruction_fleche_col(struct_processus
                 nombre_lignes;                  nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc(nombre_lignes * sizeof(real8 *))) == NULL)                  malloc(((size_t) nombre_lignes) * sizeof(real8 *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;              (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
             return;              return;
Line 1409  instruction_fleche_col(struct_processus Line 1409  instruction_fleche_col(struct_processus
         for(i = 0; i < nombre_lignes; i++)          for(i = 0; i < nombre_lignes; i++)
         {          {
             if ((((real8 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((real8 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] = malloc(nombre_colonnes *                      .objet)).tableau)[i] = malloc(((size_t) nombre_colonnes) *
                     sizeof(real8))) == NULL)                      sizeof(real8))) == NULL)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
Line 1430  instruction_fleche_col(struct_processus Line 1430  instruction_fleche_col(struct_processus
                 for(i = 0; i < nombre_lignes; i++)                  for(i = 0; i < nombre_lignes; i++)
                 {                  {
                     ((real8 **) (*((struct_matrice *) (*s_objet_resultat)                      ((real8 **) (*((struct_matrice *) (*s_objet_resultat)
                             .objet)).tableau)[i][j] = ((integer8 **)                              .objet)).tableau)[i][j] = (real8) ((integer8 **)
                             (*((struct_matrice *) (*s_objet).objet))                              (*((struct_matrice *) (*s_objet).objet))
                             .tableau)[i][0];                              .tableau)[i][0];
                 }                  }
Line 1463  instruction_fleche_col(struct_processus Line 1463  instruction_fleche_col(struct_processus
                 nombre_lignes;                  nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc(nombre_lignes * sizeof(complex16 *))) == NULL)                  malloc(((size_t) nombre_lignes) * sizeof(complex16 *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;              (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
             return;              return;
Line 1472  instruction_fleche_col(struct_processus Line 1472  instruction_fleche_col(struct_processus
         for(i = 0; i < nombre_lignes; i++)          for(i = 0; i < nombre_lignes; i++)
         {          {
             if ((((complex16 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((complex16 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] = malloc(nombre_colonnes *                      .objet)).tableau)[i] = malloc(((size_t) nombre_colonnes) *
                     sizeof(complex16))) == NULL)                      sizeof(complex16))) == NULL)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
Line 1493  instruction_fleche_col(struct_processus Line 1493  instruction_fleche_col(struct_processus
                 for(i = 0; i < nombre_lignes; i++)                  for(i = 0; i < nombre_lignes; i++)
                 {                  {
                     (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)                      (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)
                             .objet)).tableau)[i][j]).partie_reelle =                              .objet)).tableau)[i][j]).partie_reelle = (real8)
                             ((integer8 **) (*((struct_matrice *)                              ((integer8 **) (*((struct_matrice *)
                             (*s_objet).objet)).tableau)[i][0];                              (*s_objet).objet)).tableau)[i][0];
                     (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)                      (((complex16 **) (*((struct_matrice *) (*s_objet_resultat)

Removed from v.1.57  
changed lines
  Added in v.1.58


CVSweb interface <joel.bertrand@systella.fr>