diff options
| author | Tyge Løvset <[email protected]> | 2022-09-25 20:09:10 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-09-25 20:09:10 +0200 |
| commit | c247a7628c16c2658562c187dbfb1805a1b0f705 (patch) | |
| tree | 3475cac859653d2599e47c1d1257d1a4784f262f /docs/ccommon_api.md | |
| parent | a383150d78622d1177ba1da5f5060d08b520cdf5 (diff) | |
| download | STC-modified-c247a7628c16c2658562c187dbfb1805a1b0f705.tar.gz STC-modified-c247a7628c16c2658562c187dbfb1805a1b0f705.zip | |
Change crange_value from intmax_t to 'long long' - enables usage of "%lld" format.
Diffstat (limited to 'docs/ccommon_api.md')
| -rw-r--r-- | docs/ccommon_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md index 8938f0d2..3ff3c17e 100644 --- a/docs/ccommon_api.md +++ b/docs/ccommon_api.md @@ -256,7 +256,7 @@ int main() { Note that `c_flt_take()` is given as an optional argument, which makes the loop stop when it becomes false (for efficiency). Chaining it after `flt_prime()` instead will give same result, but the full input is processed. ### crange -**crange** is a number sequence generator type. The **crange_value** type is `intmax_t`. Below, *start*, *end*, *step* are of *crange_type*. +**crange** is a number sequence generator type. The **crange_value** type is `long long`. Below, *start*, *end*, *step* are type *crange_value*: ```c crange crange_init(void); // will generate 0, 1, 2, ... crange crange_from(start); // will generate start, start+1, ... |
