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) {
191
191
192
192
JANET_CORE_FN (cfun_it_s64_new ,
193
193
"(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 ." ) {
195
195
janet_fixarity (argc , 1 );
196
196
return janet_wrap_s64 (janet_unwrap_s64 (argv [0 ]));
197
197
}
198
198
199
199
JANET_CORE_FN (cfun_it_u64_new ,
200
200
"(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 ." ) {
202
202
janet_fixarity (argc , 1 );
203
203
return janet_wrap_u64 (janet_unwrap_u64 (argv [0 ]));
204
204
}
205
205
206
206
JANET_CORE_FN (cfun_to_number ,
207
207
"(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 ." ) {
209
209
janet_fixarity (argc , 1 );
210
210
if (janet_type (argv [0 ]) == JANET_ABSTRACT ) {
211
211
void * abst = janet_unwrap_abstract (argv [0 ]);
You can’t perform that action at this time.
0 commit comments