1imult32(3) Library Functions Manual imult32(3)
23
4
NAME
6imult32 - integer multiplication with overflow checking
7
SYNTAX
9#include <safemult.h>
1011
int imult32(int32 a,int32 b,int32* c);
12
DESCRIPTION
14imult32 does c=a*b and returns 1.
1516
In case of an integer overflow, imult32 leaves c alone and returns 0.
17
SEE ALSO
19imult16(3), umult32(3), imult64(3)
2021
22
23
imult32(3)