summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h
diff options
context:
space:
mode:
authorsiddhu89902015-11-28 02:14:11 +0530
committersiddhu89902015-11-28 02:14:11 +0530
commitfd8c4f9bc0763e85c16a59c7639803fd09663281 (patch)
treec3edb6c759627babbde74657e678c3bd1b96e8ed /2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h
parent3bcc8ce62560f36eaaab0e064b169b0118f354f3 (diff)
parentfc6021634482f01e2eb7a485717b2bc3cd6355f3 (diff)
downloadScilab2C-fd8c4f9bc0763e85c16a59c7639803fd09663281.tar.gz
Scilab2C-fd8c4f9bc0763e85c16a59c7639803fd09663281.tar.bz2
Scilab2C-fd8c4f9bc0763e85c16a59c7639803fd09663281.zip
Merge pull request #1 from Mushirahmed/master
Files updated by Mushir merged with main branch.
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h')
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_sqrt.h19
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__ */