diff options
author | Siddhesh Wani | 2015-07-30 17:06:28 +0530 |
---|---|---|
committer | Siddhesh Wani | 2015-07-30 17:06:28 +0530 |
commit | f39c271ca3fbf737612350a7f1c6af7e2c7022f9 (patch) | |
tree | 3fb231c7500048aea6f41be146c66ba5b666245a /macros/FunctionAnnotation/FA_GetDefaultPrecision.sci | |
parent | db464f35f5a10b58d9ed1085e0b462689adee583 (diff) | |
download | Scilab2C_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.sci | 9 |
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
|