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>
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
◆ IntRounding()
capd::rounding::IntRounding::IntRounding |
( |
| ) |
|
Call initialization of Floating Point Unit.
◆ 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 |
The documentation for this class was generated from the following file: