From cd0a0923a826754b76743ab4e5014c8cffc02839 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 Jan 2026 18:36:07 -0500 Subject: More cleanups and fixes --- src/stdlib/reals.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stdlib/reals.h') 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); -- cgit v1.2.3