diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-11 17:32:26 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-11 17:32:26 -0500 |
| commit | c2a60d9b4ff9f70505a6240e1e960e7c6230e4af (patch) | |
| tree | 6fc280e425076f0e9f6ecc06f7bde5ac1609e935 /src/stdlib/print.h | |
| parent | 4aa983f2505264560c526b5a8987579ae4d5c734 (diff) | |
Print reals
Diffstat (limited to 'src/stdlib/print.h')
| -rw-r--r-- | src/stdlib/print.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/print.h b/src/stdlib/print.h index 7106d561..65de72a0 100644 --- a/src/stdlib/print.h +++ b/src/stdlib/print.h @@ -77,6 +77,7 @@ typedef struct { int _print_int(FILE *f, int64_t x); int _print_uint(FILE *f, uint64_t x); int _print_double(FILE *f, double x); +int _print_real(FILE *f, Real_t x); int _print_hex(FILE *f, hex_format_t hex); int _print_hex_double(FILE *f, hex_double_t hex); int _print_oct(FILE *f, oct_format_t oct); @@ -116,6 +117,7 @@ extern int Int$print(FILE *f, Int_t i); uint8_t: _print_uint, \ float: _print_float, \ double: _print_double, \ + Real_t: _print_real, \ hex_format_t: _print_hex, \ hex_double_t: _print_hex_double, \ oct_format_t: _print_oct, \ |
