Definition of class that switches rounding modes of double numbers.
More...
#include <capd/rounding/DoubleRounding.h>
Definition of class that switches rounding modes of double numbers.
- Author
- Tomasz Kapela
- Date
- 11-01-2006
◆ DoubleRounding()
capd::rounding::DoubleRounding::DoubleRounding |
( |
| ) |
|
Call initialization of Floating Point Unit.
◆ isWorking()
bool capd::rounding::DoubleRounding::isWorking |
( |
| ) |
|
|
static |
Tests that all rounding modes works correctly. Returns false is they don't.
◆ roundCut()
static void capd::rounding::DoubleRounding::roundCut |
( |
| ) |
|
|
static |
Sets rounding towards zero mode.
◆ roundDown()
static void capd::rounding::DoubleRounding::roundDown |
( |
| ) |
|
|
static |
◆ roundNearest()
static void capd::rounding::DoubleRounding::roundNearest |
( |
| ) |
|
|
static |
Sets rounding to nearest mode.
◆ roundUp()
static void capd::rounding::DoubleRounding::roundUp |
( |
| ) |
|
|
static |
◆ test()
Returns the actual rounding mode.
The documentation for this class was generated from the following files: