diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-05-26 16:12:56 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-05-26 16:12:56 -0400 |
commit | c26ba5c83e55a782c6f3e277f5845f20fd47aa10 (patch) | |
tree | e265e8174f72b6004edc01991974292d43b3ae65 /Carpet/CarpetLib | |
parent | 84e390d73ab7148814b19d4758ff90564c3f1c5d (diff) |
CarpetLib: Provide rint, round, trunc, and lrint for vectors
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r-- | Carpet/CarpetLib/src/vect.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/vect.hh b/Carpet/CarpetLib/src/vect.hh index 2981f4a8f..dfe2ab7f8 100644 --- a/Carpet/CarpetLib/src/vect.hh +++ b/Carpet/CarpetLib/src/vect.hh @@ -391,7 +391,13 @@ DECLARE_FUNCTION_1 (abs) DECLARE_FUNCTION_1 (ceil) DECLARE_FUNCTION_1 (fabs) DECLARE_FUNCTION_1 (floor) +DECLARE_FUNCTION_1 (rint) +DECLARE_FUNCTION_1 (round) DECLARE_FUNCTION_1 (sqrt) +DECLARE_FUNCTION_1 (trunc) + +DECLARE_FUNCTION_1_RET (lrint, int) + namespace std { namespace Cactus { DECLARE_FUNCTION_1_RET (good_fpclassify, int) |