summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index b6d4b3f4..b63b8d76 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1400,6 +1400,8 @@ value_t value_t::abs() const
return NULL_VALUE;
}
+#ifdef INTEGER_MATH
+
value_t value_t::round() const
{
switch (type()) {
@@ -1439,6 +1441,8 @@ void value_t::in_place_round()
}
}
+#endif // INTEGER_MATH
+
value_t value_t::unround() const
{
switch (type()) {