Math Processor Unit Library

libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity

16 Commits   0 Branches   2 Tags
26c77d91 (kx 2024-12-31 15:11:28 +0300  1) .TH inot 3  "December 27, 2024" "libmpu" "LibMPU Programmer's Manual"
26c77d91 (kx 2024-12-31 15:11:28 +0300  2) .SH NAME
26c77d91 (kx 2024-12-31 15:11:28 +0300  3) \fBinot\fP \- bitwise logical NOT
26c77d91 (kx 2024-12-31 15:11:28 +0300  4) .SH SYNOPSIS
26c77d91 (kx 2024-12-31 15:11:28 +0300  5) .nf
26c77d91 (kx 2024-12-31 15:11:28 +0300  6) .B #include <libmpu.h>
26c77d91 (kx 2024-12-31 15:11:28 +0300  7) .PP
26c77d91 (kx 2024-12-31 15:11:28 +0300  8) .BI "void inot( mpu_int *" c ", mpu_int *" a ", int " nb " );
26c77d91 (kx 2024-12-31 15:11:28 +0300  9) .fi
26c77d91 (kx 2024-12-31 15:11:28 +0300 10) .SH DESCRIPTION
26c77d91 (kx 2024-12-31 15:11:28 +0300 11) The function \fBinot()\fP performs the inversion of all bits of the integer number located at the
26c77d91 (kx 2024-12-31 15:11:28 +0300 12) address \fBa\fP, and places the result at the address \fBc\fP. The contents of the memory at address
26c77d91 (kx 2024-12-31 15:11:28 +0300 13) \fBa\fP are not changed, the previous memory contents at address \fBc\fP are lost. The \fBnb\fP
26c77d91 (kx 2024-12-31 15:11:28 +0300 14) parameter determines the size of the operands (in bytes), located at addresses \fBc\fP, \fBa\fP.
26c77d91 (kx 2024-12-31 15:11:28 +0300 15) .PP
26c77d91 (kx 2024-12-31 15:11:28 +0300 16) The function has no effect on flags.
26c77d91 (kx 2024-12-31 15:11:28 +0300 17) .sp
26c77d91 (kx 2024-12-31 15:11:28 +0300 18) .SH SEE ALSO
26c77d91 (kx 2024-12-31 15:11:28 +0300 19) .BR iadd(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 20) .BR isub(3),
41c271da (kx 2025-01-05 15:42:39 +0300 21) .BR iadc(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 22) .BR isbb(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 23) .BR ishl(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 24) .BR ishr(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 25) .BR isal(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 26) .BR isar(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 27) .BR irol(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 28) .BR iror(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 29) .BR ircl(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 30) .BR ircr(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 31) .BR ishln(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 32) .BR ishrn(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 33) .BR isaln(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 34) .BR isarn(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 35) .BR iroln(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 36) .BR irorn(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 37) .BR ircln(3),
26c77d91 (kx 2024-12-31 15:11:28 +0300 38) .BR ircrn(3),
41c271da (kx 2025-01-05 15:42:39 +0300 39) .BR ineg(3),
41c271da (kx 2025-01-05 15:42:39 +0300 40) .BR iand(3),
41c271da (kx 2025-01-05 15:42:39 +0300 41) .BR itest(3),
41c271da (kx 2025-01-05 15:42:39 +0300 42) .BR icmp(3),
41c271da (kx 2025-01-05 15:42:39 +0300 43) .BR ior(3),
41c271da (kx 2025-01-05 15:42:39 +0300 44) .BR ixor(3),
41c271da (kx 2025-01-05 15:42:39 +0300 45) .BR iinc(3),
41c271da (kx 2025-01-05 15:42:39 +0300 46) .BR idec(3),
41c271da (kx 2025-01-05 15:42:39 +0300 47) .BR ixchg(3),
41c271da (kx 2025-01-05 15:42:39 +0300 48) .BR icpy(3),
41c271da (kx 2025-01-05 15:42:39 +0300 49) .BR icvt(3),
41c271da (kx 2025-01-05 15:42:39 +0300 50) .BR imul(3),
41c271da (kx 2025-01-05 15:42:39 +0300 51) .BR ismul(3),
41c271da (kx 2025-01-05 15:42:39 +0300 52) .BR idiv(3),
41c271da (kx 2025-01-05 15:42:39 +0300 53) .BR isdiv(3),
41c271da (kx 2025-01-05 15:42:39 +0300 54) .BR iatoi(3),
41c271da (kx 2025-01-05 15:42:39 +0300 55) .BR iatoui(3),
41c271da (kx 2025-01-05 15:42:39 +0300 56) .BR iitoa(3),
41c271da (kx 2025-01-05 15:42:39 +0300 57) .BR iuitoa(3).