aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-01-11 14:58:28 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-01-11 14:58:28 -0500
commita4eb2d1ad35f2ee2da2aa442b19d2e8267e71afa (patch)
treedef4638aed6d14567a3c134dd2c190994962869c /src/stdlib
parente4b8d9c84d8bb2a07b1f587c12b261f3bdfde86f (diff)
Hook up Real.rounded_to()
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/reals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/reals.h b/src/stdlib/reals.h
index a322ff64..ddb91f66 100644
--- a/src/stdlib/reals.h
+++ b/src/stdlib/reals.h
@@ -39,6 +39,8 @@ Real_t Real$sqrt(Real_t x);
bool Real$equal(const void *va, const void *vb, const TypeInfo_t *t);
int32_t Real$compare(const void *va, const void *vb, const TypeInfo_t *t);
+Real_t Real$rounded_to(Real_t x, Real_t round_to);
+
int Real$test();
extern const TypeInfo_t Real$info;