mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
Use computed goto in vm for GCC
This commit is contained in:
parent
a6694e985c
commit
1bf0b538cd
@ -107,7 +107,7 @@ const uint8_t *dst_cstring(const char *str) {
|
||||
|
||||
static int32_t real_to_string_impl(uint8_t *buf, double x) {
|
||||
/* Use 16 decimal places to ignore one ulp errors for now */
|
||||
int count = snprintf((char *) buf, DST_BUFSIZE, "%.16g", x);
|
||||
int count = snprintf((char *) buf, DST_BUFSIZE, "%.16gR", x);
|
||||
return (int32_t) count;
|
||||
}
|
||||
|
||||
|
1004
src/core/vm.c
1004
src/core/vm.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user