quo_op Struct Reference

#include <operators.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 753 of file operators.hpp.


Member Function Documentation

static C def ( const C me,
const C f,
const C g 
) [inline, static]

Definition at line 761 of file operators.hpp.

References mmx::lshiftz(), mmx::quo(), and mmx::rshiftz().

00761                                             {
00762     if (g[0] == 0) {
00763       nat val;
00764       for (val=0; g[val]==0; val++)
00765         if (val == C::get_cancel_order ()) return 0;
00766       return quo (rshiftz (f, (int) val), rshiftz (g, (int) val));
00767     }
00768     return quo (f - lshiftz (me * rshiftz (g)), g[0]); }

static generic name (  )  [inline, static]

Definition at line 754 of file operators.hpp.

References mmx::GEN_DIV.

00754 { return GEN_DIV; }

static nat nr_init (  )  [inline, static]

Definition at line 759 of file operators.hpp.

00759 { return 0; }

static C op ( const C x,
const C y 
) [inline, static]

Definition at line 756 of file operators.hpp.

References mmx::quo().

00756 { return quo (x, y); }

static void set_op ( R &  x,
const C1 &  y1,
const C2 y2 
) [inline, static]

Definition at line 758 of file operators.hpp.

References mmx::quo().

00758 { x= quo (y1, y2); }


The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1