diff options
Diffstat (limited to 'test/monniaux/madd/madd_run.c')
-rw-r--r-- | test/monniaux/madd/madd_run.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/monniaux/madd/madd_run.c b/test/monniaux/madd/madd_run.c index d4238c53..28cdf9b3 100644 --- a/test/monniaux/madd/madd_run.c +++ b/test/monniaux/madd/madd_run.c @@ -1,9 +1,11 @@ #include <stdio.h> +#include <stdint.h> -extern unsigned madd(unsigned a, unsigned b, unsigned c); +extern uint32_t madd(uint32_t a, uint32_t b, uint32_t c); +extern uint64_t maddl(uint64_t a, uint64_t b, uint64_t c); int main() { unsigned a = 7, b = 3, c = 4; - printf("res = %u\n", madd(a, b, c)); + printf("res = %u %lu\n", madd(a, b, c), maddl(a, b, c)); return 0; } |