logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

imult64 - integer multiplication with overflow checking

Description

       imult64 does c=a*b and returns 1.

       In case of an integer overflow, imult64 leaves c alone and returns 0.

Name

       imult64 - integer multiplication with overflow checking

See Also

imult16(3), imult32(3), umult64(3)

                                                                                                      imult64(3)

Syntax

#include<libowfat/safemult.h>

       int imult64(int64 a,int64 b,int64* c);

See Also