long_int_sub_op< C > Struct Template Reference
#include <int.hpp>
List of all members.
Public Types
Static Public Member Functions
- static void op (uC &dest1, uC &dest0, const uC &s1, const uC &s0)
- dest1 R + dest0 -= (s1 R + s0), with R = (1 << n)
Detailed Description
template<typename C>
struct mmx::long_int_sub_op< C >
Definition at line 424 of file int.hpp.
Member Typedef Documentation
Member Function Documentation
static void op |
( |
uC & |
dest1, |
|
|
uC & |
dest0, |
|
|
const uC & |
s1, |
|
|
const uC & |
s0 | |
|
) |
| | [inline, static] |
dest1 R + dest0 -= (s1 R + s0), with R = (1 << n)
Definition at line 429 of file int.hpp.
00429 {
00430 if (dest0 >= s0) {
00431 dest0 -= s0;
00432 dest1 -= s1;
00433 }
00434 else {
00435 dest0 -= s0;
00436 dest1 -= s1 + 1;
00437 }
00438 }
The documentation for this struct was generated from the following file: