|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Convert from double to int.
More...
#include <Teuchos_as.hpp>
Static Public Member Functions | |
| static int | convert (const double t) |
Convert the given double to an int. More... | |
| static int | safeConvert (const double t) |
Convert the given double to an int, checking for overflow first. More... | |
Convert from double to int.
Definition at line 1194 of file Teuchos_as.hpp.
|
inlinestatic |
Convert the given double to an int.
int. You should use safeConvert() if you aren't sure that the given value fits in an int. Definition at line 1201 of file Teuchos_as.hpp.
|
inlinestatic |
Convert the given double to an int, checking for overflow first.
Definition at line 1208 of file Teuchos_as.hpp.
1.8.5