File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,21 +191,21 @@ Janet janet_wrap_u64(uint64_t x) {
191191
192192JANET_CORE_FN (cfun_it_s64_new ,
193193 "(int/s64 value)" ,
194- "Create a boxed signed 64 bit integer from a string value." ) {
194+ "Create a boxed signed 64 bit integer from a string value or a number ." ) {
195195 janet_fixarity (argc , 1 );
196196 return janet_wrap_s64 (janet_unwrap_s64 (argv [0 ]));
197197}
198198
199199JANET_CORE_FN (cfun_it_u64_new ,
200200 "(int/u64 value)" ,
201- "Create a boxed unsigned 64 bit integer from a string value." ) {
201+ "Create a boxed unsigned 64 bit integer from a string value or a number ." ) {
202202 janet_fixarity (argc , 1 );
203203 return janet_wrap_u64 (janet_unwrap_u64 (argv [0 ]));
204204}
205205
206206JANET_CORE_FN (cfun_to_number ,
207207 "(int/to-number value)" ,
208- "Convert an int/u64 or int/s64 to a number. Fails if the number is out of range for an int32 ." ) {
208+ "Convert an int/u64 or int/s64 to a number. Fails if the number is out of range for an int64 ." ) {
209209 janet_fixarity (argc , 1 );
210210 if (janet_type (argv [0 ]) == JANET_ABSTRACT ) {
211211 void * abst = janet_unwrap_abstract (argv [0 ]);
You can’t perform that action at this time.
0 commit comments