|
CAPD DynSys Library
5.2.0
|
Definition of class that switches rounding modes of double numbers. More...
#include <capd/rounding/DoubleRounding.h>
Public Member Functions | |
| DoubleRounding () | |
| Call initialization of Floating Point Unit. More... | |
Static Public Member Functions | |
| static void | roundNearest () |
| Sets rounding to nearest mode. More... | |
| static void | roundUp () |
| Sets rounding up mode. More... | |
| static void | roundDown () |
| Sets rounding down mode. More... | |
| static void | roundCut () |
| Sets rounding towards zero mode. More... | |
| static RoundingMode | test () |
| Returns the actual rounding mode. More... | |
| static bool | isWorking () |
| Tests that all rounding modes works correctly. Returns false is they don't. More... | |
Definition of class that switches rounding modes of double numbers.
| capd::rounding::DoubleRounding::DoubleRounding | ( | ) |
Call initialization of Floating Point Unit.
|
static |
Tests that all rounding modes works correctly. Returns false is they don't.
|
static |
Sets rounding towards zero mode.
|
static |
Sets rounding down mode.
|
static |
Sets rounding to nearest mode.
|
static |
Sets rounding up mode.
|
static |
Returns the actual rounding mode.