diff options
author | siddhu8990 | 2015-09-07 21:27:00 +0530 |
---|---|---|
committer | siddhu8990 | 2015-09-07 21:27:00 +0530 |
commit | 0bdaec9811b3e463514393aa1d3da6c3a96891a1 (patch) | |
tree | 2a012c5d922662809ce71930b53781106e2d57ea /src/c/elementaryFunctions/interfaces/int_round.h | |
parent | 222a3e39441ad408dacdc39d46d687dee5a6bf3c (diff) | |
download | scilab2c-0bdaec9811b3e463514393aa1d3da6c3a96891a1.tar.gz scilab2c-0bdaec9811b3e463514393aa1d3da6c3a96891a1.tar.bz2 scilab2c-0bdaec9811b3e463514393aa1d3da6c3a96891a1.zip |
Changes made for arduino support
Diffstat (limited to 'src/c/elementaryFunctions/interfaces/int_round.h')
-rw-r--r-- | src/c/elementaryFunctions/interfaces/int_round.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/interfaces/int_round.h b/src/c/elementaryFunctions/interfaces/int_round.h index a5da230c..7d013c1e 100644 --- a/src/c/elementaryFunctions/interfaces/int_round.h +++ b/src/c/elementaryFunctions/interfaces/int_round.h @@ -23,6 +23,14 @@ #define z0roundz0(in) zrounds(in) +#define u80roundu80(in) u8rounds(in) + +#define i80roundi80(in) i8rounds(in) + +#define u160roundu160(in) u16rounds(in) + +#define i160roundi160(in) i16rounds(in) + #define s2rounds2(in,size,out) srounda(in, size[0]*size[1], out) #define d2roundd2(in,size,out) drounda(in, size[0]*size[1], out) @@ -31,4 +39,12 @@ #define z2roundz2(in,size,out) zrounda(in, size[0]*size[1], out) +#define u82roundu82(in,size,out) u8rounda(in, size[0]*size[1], out) + +#define i82roundi82(in,size,out) i8rounda(in, size[0]*size[1], out) + +#define u162roundu162(in,size,out) u16rounda(in, size[0]*size[1], out) + +#define i162roundi162(in,size,out) i16rounda(in, size[0]*size[1], out) + #endif /* !__INT_ROUND_H__ */ |