1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-27 18:49:54 +00:00

Update CHANGELOG.md

This commit is contained in:
Calvin Rose 2024-07-13 12:43:35 -05:00
parent 342a29c7be
commit f5555d21b9
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.
## 1.35.2 - 2024-06-16
- Add `bundle/add-bin` to make installing scripts easier. This also establishes a packaging convention for it.
- Let range take non-integer values.
- Fix some documentation typos.
- Allow using `:only` in import without quoting.

View File

@ -456,7 +456,7 @@ JANET_CORE_FN(janet_core_range,
}
JanetArray *array = janet_array(int_count);
for (int32_t i = 0; i < int_count; i++) {
array->data[i] = janet_wrap_number(start + i * step);
array->data[i] = janet_wrap_number(start + (double) i * step);
}
array->count = int_count;
return janet_wrap_array(array);