diff options
Diffstat (limited to 'src/c/operations/multiplication')
-rw-r--r-- | src/c/operations/multiplication/i16muls.c | 2 | ||||
-rw-r--r-- | src/c/operations/multiplication/i16mulv.c | 6 | ||||
-rw-r--r-- | src/c/operations/multiplication/i8muls.c | 2 | ||||
-rw-r--r-- | src/c/operations/multiplication/i8mulv.c | 6 | ||||
-rw-r--r-- | src/c/operations/multiplication/u16muls.c | 2 | ||||
-rw-r--r-- | src/c/operations/multiplication/u16mulv.c | 6 | ||||
-rw-r--r-- | src/c/operations/multiplication/u8muls.c | 2 | ||||
-rw-r--r-- | src/c/operations/multiplication/u8mulv.c | 6 |
8 files changed, 16 insertions, 16 deletions
diff --git a/src/c/operations/multiplication/i16muls.c b/src/c/operations/multiplication/i16muls.c index 1bd002e..687c217 100644 --- a/src/c/operations/multiplication/i16muls.c +++ b/src/c/operations/multiplication/i16muls.c @@ -14,6 +14,6 @@ #include "multiplication.h" #include "types.h" -i16 i16muls(i16 in1, i16 in2){ +int16 i16muls(int16 in1, int16 in2){ return in1*in2; } diff --git a/src/c/operations/multiplication/i16mulv.c b/src/c/operations/multiplication/i16mulv.c index 364d81d..37569d8 100644 --- a/src/c/operations/multiplication/i16mulv.c +++ b/src/c/operations/multiplication/i16mulv.c @@ -13,10 +13,10 @@ #include "multiplication.h" -i16 i16mulv(i16* in1, i16* in2, u16 size) +int16 i16mulv(int16* in1, int16* in2, int size) { - i16 out = 0; - u16 i = 0; + int16 out = 0; + int i = 0; for (i = 0 ; i < size ; ++i) { diff --git a/src/c/operations/multiplication/i8muls.c b/src/c/operations/multiplication/i8muls.c index 6f12425..a19bd7b 100644 --- a/src/c/operations/multiplication/i8muls.c +++ b/src/c/operations/multiplication/i8muls.c @@ -14,6 +14,6 @@ #include "multiplication.h" #include "types.h" -i80 i8muls(i80 in1, i80 in2){ +int8 i8muls(int8 in1, int8 in2){ return in1*in2; } diff --git a/src/c/operations/multiplication/i8mulv.c b/src/c/operations/multiplication/i8mulv.c index f059101..a617ceb 100644 --- a/src/c/operations/multiplication/i8mulv.c +++ b/src/c/operations/multiplication/i8mulv.c @@ -13,10 +13,10 @@ #include "multiplication.h" -i8 i8mulv(i8* in1, i8* in2, i16 size) +int8 i8mulv(int8* in1, int8* in2, int size) { - i8 out = 0; - u16 i = 0; + int8 out = 0; + int i = 0; for (i = 0 ; i < size ; ++i) { diff --git a/src/c/operations/multiplication/u16muls.c b/src/c/operations/multiplication/u16muls.c index c4d8f0e..7b202d5 100644 --- a/src/c/operations/multiplication/u16muls.c +++ b/src/c/operations/multiplication/u16muls.c @@ -14,6 +14,6 @@ #include "multiplication.h" #include "types.h" -u160 u16muls(u160 in1, u160 in2){ +uint16 u16muls(uint16 in1, uint16 in2){ return in1*in2; } diff --git a/src/c/operations/multiplication/u16mulv.c b/src/c/operations/multiplication/u16mulv.c index b7bd9a4..ae7f9fb 100644 --- a/src/c/operations/multiplication/u16mulv.c +++ b/src/c/operations/multiplication/u16mulv.c @@ -13,10 +13,10 @@ #include "multiplication.h" -u16 u16mulv(u16* in1, u16* in2, u16 size) +uint16 u16mulv(uint16* in1, uint16* in2, int size) { - u16 out = 0; - u16 i = 0; + uint16 out = 0; + int i = 0; for (i = 0 ; i < size ; ++i) { diff --git a/src/c/operations/multiplication/u8muls.c b/src/c/operations/multiplication/u8muls.c index 6a4062e..bc7d80a 100644 --- a/src/c/operations/multiplication/u8muls.c +++ b/src/c/operations/multiplication/u8muls.c @@ -14,6 +14,6 @@ #include "multiplication.h" #include "types.h" -u80 u8muls(u80 in1, u80 in2){ +uint8 u8muls(uint8 in1, uint8 in2){ return in1*in2; } diff --git a/src/c/operations/multiplication/u8mulv.c b/src/c/operations/multiplication/u8mulv.c index 4723b53..8681659 100644 --- a/src/c/operations/multiplication/u8mulv.c +++ b/src/c/operations/multiplication/u8mulv.c @@ -12,10 +12,10 @@ #include "multiplication.h" -u8 u8mulv(u8* in1, u8* in2, u16 size) +uint8 u8mulv(uint8* in1, uint8* in2, int size) { - u8 out = 0; - u16 i = 0; + uint8 out = 0; + int i = 0; for (i = 0 ; i < size ; ++i) { |