CAPD::DynSys Library  6.0.0
capd::rounding::IntRounding Class Reference

Definition of class that virtually switches rounding modes of integer numbers because in this case no switching is needed (all operations are exact) More...

#include <capd/rounding/IntRounding.h>

Public Member Functions

 IntRounding ()
 Call initialization of Floating Point Unit. More...
 

Static Public Member Functions

static void roundNearest ()
 
static void roundUp ()
 
static void roundDown ()
 
static void roundCut ()
 

Detailed Description

Definition of class that virtually switches rounding modes of integer numbers because in this case no switching is needed (all operations are exact)

Author
Tomasz Kapela
Date
11-01-2006

Constructor & Destructor Documentation

◆ IntRounding()

capd::rounding::IntRounding::IntRounding ( )

Call initialization of Floating Point Unit.

Member Function Documentation

◆ roundCut()

static void capd::rounding::IntRounding::roundCut ( )
inlinestatic

< Sets rounding towards zero mode

◆ roundDown()

static void capd::rounding::IntRounding::roundDown ( )
inlinestatic

< Sets rounding down mode

◆ roundNearest()

static void capd::rounding::IntRounding::roundNearest ( )
inlinestatic

< Sets rounding to nearest mode

◆ roundUp()

static void capd::rounding::IntRounding::roundUp ( )
inlinestatic

< Sets rounding up mode


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