diff options
author | jofret | 2009-06-05 15:31:48 +0000 |
---|---|---|
committer | jofret | 2009-06-05 15:31:48 +0000 |
commit | 74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1 (patch) | |
tree | 484736de55d5ce87a2503cb7024c1835f8073766 /macros | |
parent | 462563271edd528e1785ed30beff1683f1859ac2 (diff) | |
download | scilab2c-74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1.tar.gz scilab2c-74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1.tar.bz2 scilab2c-74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1.zip |
Enable order comparison
Diffstat (limited to 'macros')
-rw-r--r-- | macros/CFiles/sci2cincludes/OpLogGt.h | 37 | ||||
-rw-r--r-- | macros/findDeps/getAllInterfaces.sci | 4 |
2 files changed, 4 insertions, 37 deletions
diff --git a/macros/CFiles/sci2cincludes/OpLogGt.h b/macros/CFiles/sci2cincludes/OpLogGt.h deleted file mode 100644 index 88715092..00000000 --- a/macros/CFiles/sci2cincludes/OpLogGt.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -** -*- C -*- -** -** -** Made by Raffaele.Nutricato@tiscali.it -** -** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Oct 22 10:01:54 2007 bruno -** -** Copyright INRIA 2006 -*/ - -/* - Update 23/02/09 by Arnaud Torset : Add matrix comparaison, remove include(floatComplex and doubleComplex) -*/ - -#ifndef __OPLOGGT_H__ -#define __OPLOGGT_H__ - - -#define s0s0OpLogGts0(in1,in2) \
- (float) (in1 > in2) -void s2s0OpLogGts2(float* in1, int* in1Size, float in2, float* out); - -#define d0d0OpLogGtd0(in1,in2) \
- (double) (in1 > in2) -void d2d0OpLogGtd2(double* in1, int* in1Size, double in2, double* out); - -/* we must have size1=size2 */ - -#define s2s2OpLogGts2(in1,size1,in2,size2,out) {int i;\ - for (i=0;i<size1[0]*size2[1]) out[i] = s0s0OpLogGts0(in1[i],in2[i]);\ - } -#define d2d2OpLogGtd2(in1,size1,in2,size2,out) {int i;\ - for (i=0;i<size1[0]*size2[1]) out[i] = d0d0OpLogGtd0(in1[i],in2[i]);\ - } -#endif /* !__OPLOGGT_H__ */ diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index 96d9a960..be0cd443 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -83,6 +83,10 @@ function allInterfaces = getAllInterfaces() "src/c/operations/interfaces/int_OpEqual.h" "src/c/operations/interfaces/int_OpLogEq.h" "src/c/operations/interfaces/int_OpLogNe.h" + "src/c/operations/interfaces/int_OpLogGt.h" + "src/c/operations/interfaces/int_OpLogGe.h" + "src/c/operations/interfaces/int_OpLogLt.h" + "src/c/operations/interfaces/int_OpLogLe.h" "src/c/operations/interfaces/int_OpDotStar.h" "src/c/operations/interfaces/int_OpDotSlash.h" "src/c/operations/interfaces/int_OpBackSlash.h" |