aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/reals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/reals.h')
-rw-r--r--src/stdlib/reals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdlib/reals.h b/src/stdlib/reals.h
index d03e4e5f..63742330 100644
--- a/src/stdlib/reals.h
+++ b/src/stdlib/reals.h
@@ -34,8 +34,9 @@ Real_t Real$cos(Real_t x);
Real_t Real$divided_by(Real_t x, Real_t y);
Real_t Real$exp(Real_t x);
Real_t Real$floor(Real_t x);
-Real_t Real$from_float64(double n);
+CONSTFUNC Real_t Real$from_float64(double n);
Real_t Real$from_int(Int_t i);
+Real_t Real$from_rational(int64_t num, int64_t den);
Real_t Real$from_text(Text_t text);
Real_t Real$log(Real_t x);
Real_t Real$log10(Real_t x);