version 1.4, 2010/03/04 10:17:51
|
version 1.49, 2015/01/05 13:12:36
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.12 |
RPL/2 (R) version 4.1.19 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2015 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 190 instruction_lsq(struct_processus *s_etat
|
Line 190 instruction_lsq(struct_processus *s_etat
|
struct_matrice s_matrice_tampon_b; |
struct_matrice s_matrice_tampon_b; |
struct_matrice s_matrice_tampon_x; |
struct_matrice s_matrice_tampon_x; |
|
|
unsigned long i; |
integer8 i; |
|
|
(*s_etat_processus).erreur_execution = d_ex; |
(*s_etat_processus).erreur_execution = d_ex; |
|
|
Line 288 instruction_lsq(struct_processus *s_etat
|
Line 288 instruction_lsq(struct_processus *s_etat
|
(*s_objet_argument_2).objet)).taille; |
(*s_objet_argument_2).objet)).taille; |
s_matrice_tampon_b.nombre_colonnes = 1; |
s_matrice_tampon_b.nombre_colonnes = 1; |
|
|
if ((s_matrice_tampon_b.tableau = malloc(s_matrice_tampon_b |
if ((s_matrice_tampon_b.tableau = malloc(((size_t) |
.nombre_lignes * sizeof(integer8 *))) == NULL) |
s_matrice_tampon_b.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 317 instruction_lsq(struct_processus *s_etat
|
Line 318 instruction_lsq(struct_processus *s_etat
|
(*s_objet_argument_2).objet)).taille; |
(*s_objet_argument_2).objet)).taille; |
s_matrice_tampon_b.nombre_colonnes = 1; |
s_matrice_tampon_b.nombre_colonnes = 1; |
|
|
if ((s_matrice_tampon_b.tableau = malloc(s_matrice_tampon_b |
if ((s_matrice_tampon_b.tableau = malloc(((size_t) |
.nombre_lignes * sizeof(real8 *))) == NULL) |
s_matrice_tampon_b.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 384 instruction_lsq(struct_processus *s_etat
|
Line 386 instruction_lsq(struct_processus *s_etat
|
s_matrice_tampon_x.nombre_lignes; |
s_matrice_tampon_x.nombre_lignes; |
|
|
if (((*((struct_vecteur *) (*s_objet_resultat).objet)).tableau = |
if (((*((struct_vecteur *) (*s_objet_resultat).objet)).tableau = |
malloc((*((struct_vecteur *) (*s_objet_resultat).objet)).taille |
malloc(((size_t) (*((struct_vecteur *) (*s_objet_resultat) |
* sizeof(real8))) == NULL) |
.objet)).taille) * sizeof(real8))) == NULL) |
{ |
{ |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
return; |
return; |
Line 433 instruction_lsq(struct_processus *s_etat
|
Line 435 instruction_lsq(struct_processus *s_etat
|
(*s_objet_argument_2).objet)).taille; |
(*s_objet_argument_2).objet)).taille; |
s_matrice_tampon_b.nombre_colonnes = 1; |
s_matrice_tampon_b.nombre_colonnes = 1; |
|
|
if ((s_matrice_tampon_b.tableau = malloc(s_matrice_tampon_b |
if ((s_matrice_tampon_b.tableau = malloc(((size_t) |
.nombre_lignes * sizeof(integer8 *))) == NULL) |
s_matrice_tampon_b.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 462 instruction_lsq(struct_processus *s_etat
|
Line 465 instruction_lsq(struct_processus *s_etat
|
(*s_objet_argument_2).objet)).taille; |
(*s_objet_argument_2).objet)).taille; |
s_matrice_tampon_b.nombre_colonnes = 1; |
s_matrice_tampon_b.nombre_colonnes = 1; |
|
|
if ((s_matrice_tampon_b.tableau = malloc(s_matrice_tampon_b |
if ((s_matrice_tampon_b.tableau = malloc(((size_t) |
.nombre_lignes * sizeof(real8 *))) == NULL) |
s_matrice_tampon_b.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 491 instruction_lsq(struct_processus *s_etat
|
Line 495 instruction_lsq(struct_processus *s_etat
|
(*s_objet_argument_2).objet)).taille; |
(*s_objet_argument_2).objet)).taille; |
s_matrice_tampon_b.nombre_colonnes = 1; |
s_matrice_tampon_b.nombre_colonnes = 1; |
|
|
if ((s_matrice_tampon_b.tableau = malloc(s_matrice_tampon_b |
if ((s_matrice_tampon_b.tableau = malloc(((size_t) |
.nombre_lignes * sizeof(struct_complexe16 *))) == NULL) |
s_matrice_tampon_b.nombre_lignes) * |
|
sizeof(struct_complexe16 *))) == NULL) |
{ |
{ |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
return; |
return; |
Line 570 instruction_lsq(struct_processus *s_etat
|
Line 575 instruction_lsq(struct_processus *s_etat
|
s_matrice_tampon_x.nombre_lignes; |
s_matrice_tampon_x.nombre_lignes; |
|
|
if (((*((struct_vecteur *) (*s_objet_resultat).objet)).tableau = |
if (((*((struct_vecteur *) (*s_objet_resultat).objet)).tableau = |
malloc((*((struct_vecteur *) (*s_objet_resultat).objet)).taille |
malloc(((size_t) (*((struct_vecteur *) (*s_objet_resultat) |
* sizeof(struct_complexe16))) == NULL) |
.objet)).taille) * sizeof(struct_complexe16))) == NULL) |
{ |
{ |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
return; |
return; |