basix_doc 0.1
long_int_sub_op< C > Struct Template Reference

#include <int.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<typename C>
struct mmx::long_int_sub_op< C >

Definition at line 391 of file int.hpp.


Member Typedef Documentation

typedef unsigned_of_helper<C>::type uC

Definition at line 392 of file int.hpp.


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 396 of file int.hpp.

                                                        {
    if (dest0 >= s0) {
      dest0 -= s0;
      dest1 -= s1;
    }
    else {
      dest0 -= s0;
      dest1 -= s1 + 1;
    }
  }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines