diff options
author | imushir | 2015-11-27 15:38:03 +0530 |
---|---|---|
committer | imushir | 2015-11-27 15:38:03 +0530 |
commit | 032b39428eb4608bd1134866c82d676ddb4651b7 (patch) | |
tree | 35d5a5b7e5af27984036cb79f8c9949814ef0d58 /2.3-1/src/c/elementaryFunctions | |
parent | 7dd7e71d8696214facf9f9befe79164d11401f4f (diff) | |
download | Scilab2C-032b39428eb4608bd1134866c82d676ddb4651b7.tar.gz Scilab2C-032b39428eb4608bd1134866c82d676ddb4651b7.tar.bz2 Scilab2C-032b39428eb4608bd1134866c82d676ddb4651b7.zip |
reference for u8 u16 i8 i16 for different combination added
Diffstat (limited to '2.3-1/src/c/elementaryFunctions')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h index 0efbca96..090d9825 100644 --- a/2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h @@ -33,27 +33,32 @@ #define __INT_SQRT_H__ #define s0sqrts0(in) ssqrts(in) -
+ #define s0sqrtc0(in) csqrts(FloatComplex(in,0)) #define d0sqrtd0(in) dsqrts(in) -
+ #define d0sqrtz0(in) zsqrts(DoubleComplex(in,0)) #define c0sqrtc0(in) csqrts(in) -
+ #define z0sqrtz0(in) zsqrts(in) -
+ + + #define s2sqrts2(in,size,out) ssqrta(in, size[0]*size[1], out) #define s2sqrtc2(in,size,out) csqrta(FloatComplexMatrix(in,0), size[0]*size[1], out) #define d2sqrtd2(in,size,out) dsqrta(in, size[0]*size[1], out) -
+ #define d2sqrtz2(in,size,out) zsqrta(DoubleComplexMatrix(in,0), size[0]*size[1], out) #define c2sqrtc2(in,size,out) csqrta(in, size[0]*size[1], out) -
-#define z2sqrtz2(in,size,out) zsqrta(in, size[0]*size[1], out)
+ +#define z2sqrtz2(in,size,out) zsqrta(in, size[0]*size[1], out) + + + #endif /* !__INT_SQRT_H__ */ |