You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "safemult.h"
|
|
|
|
int imult32(int32 a,int32 b,int32* c) {
|
|
int64 x=(int64)a*b;
|
|
if ((int32)x != x) return 0;
|
|
*c=x;
|
|
return 1;
|
|
}
|