add safemult man pages
parent
6fb76c3cd9
commit
75c0d8546c
@ -0,0 +1,14 @@
|
|||||||
|
.TH imult16 3
|
||||||
|
.SH NAME
|
||||||
|
imult16 \- integer multiplication with overflow checking
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <safemult.h>
|
||||||
|
|
||||||
|
int \fBimult16\fP(int16 a,int16 b,int16* c);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
imult16 does c=a*b and returns 1.
|
||||||
|
|
||||||
|
In case of an integer overflow, imult16 leaves \fIc\fR alone and returns
|
||||||
|
0.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
umult16(3), imult32(3), imult64(3)
|
@ -0,0 +1,14 @@
|
|||||||
|
.TH imult32 3
|
||||||
|
.SH NAME
|
||||||
|
imult32 \- integer multiplication with overflow checking
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <safemult.h>
|
||||||
|
|
||||||
|
int \fBimult32\fP(int32 a,int32 b,int32* c);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
imult32 does c=a*b and returns 1.
|
||||||
|
|
||||||
|
In case of an integer overflow, imult32 leaves \fIc\fR alone and returns
|
||||||
|
0.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
imult16(3), umult32(3), imult64(3)
|
@ -0,0 +1,14 @@
|
|||||||
|
.TH imult64 3
|
||||||
|
.SH NAME
|
||||||
|
imult64 \- integer multiplication with overflow checking
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <safemult.h>
|
||||||
|
|
||||||
|
int \fBimult64\fP(int64 a,int64 b,int64* c);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
imult64 does c=a*b and returns 1.
|
||||||
|
|
||||||
|
In case of an integer overflow, imult64 leaves \fIc\fR alone and returns
|
||||||
|
0.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
imult16(3), imult32(3), umult64(3)
|
@ -0,0 +1,14 @@
|
|||||||
|
.TH umult16 3
|
||||||
|
.SH NAME
|
||||||
|
umult16 \- integer multiplication with overflow checking
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <safemult.h>
|
||||||
|
|
||||||
|
int \fBumult16\fP(uint16 a,uint16 b,uint16* c);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
umult16 does c=a*b and returns 1.
|
||||||
|
|
||||||
|
In case of an integer overflow, umult16 leaves \fIc\fR alone and returns
|
||||||
|
0.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
imult16(3), imult32(3), imult64(3)
|
@ -0,0 +1,14 @@
|
|||||||
|
.TH umult32 3
|
||||||
|
.SH NAME
|
||||||
|
umult32 \- integer multiplication with overflow checking
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <safemult.h>
|
||||||
|
|
||||||
|
int \fBumult32\fP(uint32 a,uint32 b,uint32* c);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
umult32 does c=a*b and returns 1.
|
||||||
|
|
||||||
|
In case of an integer overflow, umult32 leaves \fIc\fR alone and returns
|
||||||
|
0.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
umult16(3), imult32(3), umult64(3)
|
@ -0,0 +1,14 @@
|
|||||||
|
.TH umult64 3
|
||||||
|
.SH NAME
|
||||||
|
umult64 \- integer multiplication with overflow checking
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <safemult.h>
|
||||||
|
|
||||||
|
int \fBumult64\fP(uint64 a,uint64 b,uint64* c);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
umult64 does c=a*b and returns 1.
|
||||||
|
|
||||||
|
In case of an integer overflow, umult64 leaves \fIc\fR alone and returns
|
||||||
|
0.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
imult16(3), imult32(3), imult64(3)
|
Loading…
Reference in New Issue