|
Teuchos - Trilinos Tools Package
Version of the Day
|
Convert float to int, without compiler warnings. More...
#include <Teuchos_as.hpp>
Static Public Member Functions | |
| static int | convert (const float t) |
| Convert the given float to an int. | |
| static int | safeConvert (const float t) |
| Convert the given float to an int. | |
Convert float to int, without compiler warnings.
Definition at line 336 of file Teuchos_as.hpp.
| static int Teuchos::ValueTypeConversionTraits< int, float >::convert | ( | const float | t | ) | [inline, static] |
Convert the given float to an int.
Definition at line 339 of file Teuchos_as.hpp.
| static int Teuchos::ValueTypeConversionTraits< int, float >::safeConvert | ( | const float | t | ) | [inline, static] |
Convert the given float to an int.
Definition at line 347 of file Teuchos_as.hpp.
1.7.6.1