Skip to content

Commit 5ca7e41

Browse files
committed
add rounding functions
1 parent 903e800 commit 5ca7e41

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

R/data.table.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3417,7 +3417,8 @@ is_constantish = function(q, check_singleton=FALSE) {
34173417
"log", "log10", "log2", "log1p", "exp", "expm1",
34183418
"cos", "sin", "tan", "acos", "asin", "atan",
34193419
"cosh", "sinh", "tanh", "acosh", "asinh", "atanh",
3420-
"is.na", "is.nan", "is.finite", "is.infinite")
3420+
"is.na", "is.nan", "is.finite", "is.infinite",
3421+
"trunc", "round", "signif")
34213422

34223423
.unwrap_conversions = function(expr) {
34233424
while (.is_type_conversion(expr) && length(expr) >= 2L) expr = expr[[2L]]

0 commit comments

Comments
 (0)