summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-10-08 17:23:58 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-10-08 17:23:58 -0400
commit8b909d991fe993c711d432cfc9928dc7ffbdbbac (patch)
treeaf5545a16e8c2d7f65737c161285cf78b8ed2d43 /include
parent2b3bec54a0307652646f5ad9deff619b82cb5a91 (diff)
Primitive int/float functions: ceil, float, round, trunc
Diffstat (limited to 'include')
-rw-r--r--include/urweb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h
index e0faebf7..219bc207 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -348,4 +348,9 @@ void uw_cutErrorLocation(char *);
uw_Basis_string uw_Basis_fresh(uw_context);
+uw_Basis_float uw_Basis_floatFromInt(uw_context, uw_Basis_int);
+uw_Basis_int uw_Basis_ceil(uw_context, uw_Basis_float);
+uw_Basis_int uw_Basis_trunc(uw_context, uw_Basis_float);
+uw_Basis_int uw_Basis_round(uw_context, uw_Basis_float);
+
#endif