#include <MRCMisc/exports.h>Go to the source code of this file.
Functions | |
| MRC_API int | MR_roundToInt_double (double x) |
| MRC_API int | MR_roundToInt_float (float x) |
| MRC_API int MR_roundToInt_double | ( | double | x | ) |
the same as (int)std::round( x ) for any x in int range (halves are rounded away from zero), but without a library call on any compiler Generated from function MR::roundToInt.
| MRC_API int MR_roundToInt_float | ( | float | x | ) |
the same as (int)std::round( x ) for any x in int range (halves are rounded away from zero), but without a library call on any compiler Generated from function MR::roundToInt.