diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2026-01-11 18:36:07 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2026-01-11 18:36:07 -0500 |
| commit | cd0a0923a826754b76743ab4e5014c8cffc02839 (patch) | |
| tree | 75b501f6029345840b3f3bd25c8f274f04884350 /src/stdlib/reals.h | |
| parent | 0a9cf2636291a7d7b198cb6bae32befe3e3ea0ee (diff) | |
More cleanups and fixes
Diffstat (limited to 'src/stdlib/reals.h')
| -rw-r--r-- | src/stdlib/reals.h | 3 |
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); |
