diff options
Diffstat (limited to '2.3-1/src/c/operations/multiplication')
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/i16muls.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/i16mulv.c | 6 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/i8muls.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/i8mulv.c | 6 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/u16muls.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/u16mulv.c | 6 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/u8muls.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/multiplication/u8mulv.c | 6 |
8 files changed, 16 insertions, 16 deletions
diff --git a/2.3-1/src/c/operations/multiplication/i16muls.c b/2.3-1/src/c/operations/multiplication/i16muls.c index 1bd002e1..687c217d 100644 --- a/2.3-1/src/c/operations/multiplication/i16muls.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/i16mulv.c b/2.3-1/src/c/operations/multiplication/i16mulv.c index 364d81de..37569d8f 100644 --- a/2.3-1/src/c/operations/multiplication/i16mulv.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/i8muls.c b/2.3-1/src/c/operations/multiplication/i8muls.c index 6f12425a..a19bd7b1 100644 --- a/2.3-1/src/c/operations/multiplication/i8muls.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/i8mulv.c b/2.3-1/src/c/operations/multiplication/i8mulv.c index f0591016..a617cebe 100644 --- a/2.3-1/src/c/operations/multiplication/i8mulv.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/u16muls.c b/2.3-1/src/c/operations/multiplication/u16muls.c index c4d8f0e4..7b202d5b 100644 --- a/2.3-1/src/c/operations/multiplication/u16muls.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/u16mulv.c b/2.3-1/src/c/operations/multiplication/u16mulv.c index b7bd9a43..ae7f9fbb 100644 --- a/2.3-1/src/c/operations/multiplication/u16mulv.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/u8muls.c b/2.3-1/src/c/operations/multiplication/u8muls.c index 6a4062ee..bc7d80a3 100644 --- a/2.3-1/src/c/operations/multiplication/u8muls.c +++ b/2.3-1/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/2.3-1/src/c/operations/multiplication/u8mulv.c b/2.3-1/src/c/operations/multiplication/u8mulv.c index 4723b539..86816592 100644 --- a/2.3-1/src/c/operations/multiplication/u8mulv.c +++ b/2.3-1/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) { |