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
41c271da (kx 2025-01-05 15:42:39 +0300  1) .TH ixchg 3  "December 27, 2024" "libmpu" "LibMPU Programmer's Manual"
41c271da (kx 2025-01-05 15:42:39 +0300  2) .SH NAME
41c271da (kx 2025-01-05 15:42:39 +0300  3) \fBixchg\fP \- exchange of values
41c271da (kx 2025-01-05 15:42:39 +0300  4) .SH SYNOPSIS
41c271da (kx 2025-01-05 15:42:39 +0300  5) .nf
41c271da (kx 2025-01-05 15:42:39 +0300  6) .B #include <libmpu.h>
41c271da (kx 2025-01-05 15:42:39 +0300  7) .PP
41c271da (kx 2025-01-05 15:42:39 +0300  8) .BI "void ixchg( mpu_int *" a ", mpu_int *" b ", int " nb " );
41c271da (kx 2025-01-05 15:42:39 +0300  9) .fi
41c271da (kx 2025-01-05 15:42:39 +0300 10) .SH DESCRIPTION
41c271da (kx 2025-01-05 15:42:39 +0300 11) The \fBixchg()\fP function swaps the values of variables located at \fBa\fP, \fBb\fP. The
41c271da (kx 2025-01-05 15:42:39 +0300 12) \fBnb\fP parameter defines the size of the operands (in bytes) located at addresses \fBa\fP,
41c271da (kx 2025-01-05 15:42:39 +0300 13) \fBb\fP.
41c271da (kx 2025-01-05 15:42:39 +0300 14) .PP
41c271da (kx 2025-01-05 15:42:39 +0300 15) The function has no effect on flags.
41c271da (kx 2025-01-05 15:42:39 +0300 16) .sp
41c271da (kx 2025-01-05 15:42:39 +0300 17) .SH SEE ALSO
41c271da (kx 2025-01-05 15:42:39 +0300 18) .BR iadd(3),
41c271da (kx 2025-01-05 15:42:39 +0300 19) .BR isub(3),
41c271da (kx 2025-01-05 15:42:39 +0300 20) .BR iadc(3),
41c271da (kx 2025-01-05 15:42:39 +0300 21) .BR isbb(3),
41c271da (kx 2025-01-05 15:42:39 +0300 22) .BR ishl(3),
41c271da (kx 2025-01-05 15:42:39 +0300 23) .BR ishr(3),
41c271da (kx 2025-01-05 15:42:39 +0300 24) .BR isal(3),
41c271da (kx 2025-01-05 15:42:39 +0300 25) .BR isar(3),
41c271da (kx 2025-01-05 15:42:39 +0300 26) .BR irol(3),
41c271da (kx 2025-01-05 15:42:39 +0300 27) .BR iror(3),
41c271da (kx 2025-01-05 15:42:39 +0300 28) .BR ircl(3),
41c271da (kx 2025-01-05 15:42:39 +0300 29) .BR ircr(3),
41c271da (kx 2025-01-05 15:42:39 +0300 30) .BR ishln(3),
41c271da (kx 2025-01-05 15:42:39 +0300 31) .BR ishrn(3),
41c271da (kx 2025-01-05 15:42:39 +0300 32) .BR isaln(3),
41c271da (kx 2025-01-05 15:42:39 +0300 33) .BR isarn(3),
41c271da (kx 2025-01-05 15:42:39 +0300 34) .BR iroln(3),
41c271da (kx 2025-01-05 15:42:39 +0300 35) .BR irorn(3),
41c271da (kx 2025-01-05 15:42:39 +0300 36) .BR ircln(3),
41c271da (kx 2025-01-05 15:42:39 +0300 37) .BR ircrn(3),
41c271da (kx 2025-01-05 15:42:39 +0300 38) .BR ineg(3),
41c271da (kx 2025-01-05 15:42:39 +0300 39) .BR inot(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 icpy(3),
41c271da (kx 2025-01-05 15:42:39 +0300 48) .BR icvt(3),
41c271da (kx 2025-01-05 15:42:39 +0300 49) .BR imul(3),
41c271da (kx 2025-01-05 15:42:39 +0300 50) .BR ismul(3),
41c271da (kx 2025-01-05 15:42:39 +0300 51) .BR idiv(3),
41c271da (kx 2025-01-05 15:42:39 +0300 52) .BR isdiv(3),
41c271da (kx 2025-01-05 15:42:39 +0300 53) .BR iatoi(3),
41c271da (kx 2025-01-05 15:42:39 +0300 54) .BR iatoui(3),
41c271da (kx 2025-01-05 15:42:39 +0300 55) .BR iitoa(3),
41c271da (kx 2025-01-05 15:42:39 +0300 56) .BR iuitoa(3).