summaryrefslogtreecommitdiff
path: root/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
diff options
context:
space:
mode:
authorSiddhesh Wani2015-07-30 17:06:28 +0530
committerSiddhesh Wani2015-07-30 17:06:28 +0530
commitdcc7a8331ba9ae3bdd00670a018631c77517c100 (patch)
tree90af508b56e9e370f09c1c910961ca15c42fc014 /2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
parent6a320264c2de3d6dd8cc1d1327b3c30df4c8cb26 (diff)
downloadScilab2C-dcc7a8331ba9ae3bdd00670a018631c77517c100.tar.gz
Scilab2C-dcc7a8331ba9ae3bdd00670a018631c77517c100.tar.bz2
Scilab2C-dcc7a8331ba9ae3bdd00670a018631c77517c100.zip
Added new data types. Support for few functions with new data types added. These changes requires proper testing
Diffstat (limited to '2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci')
-rw-r--r--2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci b/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
index 3afe2648..da5486dc 100644
--- a/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
+++ b/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
@@ -79,6 +79,15 @@ else
defaultprecision = 's';
elseif (tmpprecision == 'DOUBLE')
defaultprecision = 'd';
+ elseif (tmpprecision == 'UINT8')
+ defaultprecision = 'u8';
+ elseif (tmpprecision == 'INT8')
+ defaultprecision = 'i8';
+ elseif (tmpprecision == 'UINT16')
+ defaultprecision = 'u16';
+ elseif (tmpprecision == 'INT16')
+ defaultprecision = 'i16';
+
end
end