summaryrefslogtreecommitdiff
path: root/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
commitf39c271ca3fbf737612350a7f1c6af7e2c7022f9 (patch)
tree3fb231c7500048aea6f41be146c66ba5b666245a /macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
parentdb464f35f5a10b58d9ed1085e0b462689adee583 (diff)
downloadScilab2C_fossee_old-f39c271ca3fbf737612350a7f1c6af7e2c7022f9.tar.gz
Scilab2C_fossee_old-f39c271ca3fbf737612350a7f1c6af7e2c7022f9.tar.bz2
Scilab2C_fossee_old-f39c271ca3fbf737612350a7f1c6af7e2c7022f9.zip
Added new data types. Support for few functions with new data types added. These changes requires proper testing
Diffstat (limited to 'macros/FunctionAnnotation/FA_GetDefaultPrecision.sci')
-rw-r--r--macros/FunctionAnnotation/FA_GetDefaultPrecision.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci b/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
index 3afe264..da5486d 100644
--- a/macros/FunctionAnnotation/FA_GetDefaultPrecision.sci
+++ b/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