mirror of
https://github.com/janet-lang/janet
synced 2026-09-21 08:30:03 +00:00
Formatting
This commit is contained in:
@@ -45,7 +45,7 @@ static void test_valid_str(const char *str) {
|
||||
|
||||
int number_test() {
|
||||
#ifdef JANET_PLAN9
|
||||
return 0;
|
||||
return 0;
|
||||
#endif
|
||||
test_valid_str("1.0");
|
||||
test_valid_str("1");
|
||||
|
||||
@@ -52,8 +52,8 @@ int system_test() {
|
||||
assert(janet_equals(janet_wrap_number(3.14159265), janet_wrap_number(3.14159265)));
|
||||
#ifdef NAN
|
||||
#ifdef JANET_PLAN9
|
||||
// Plan 9 traps NaNs by default; disable that.
|
||||
setfcr(0);
|
||||
// Plan 9 traps NaNs by default; disable that.
|
||||
setfcr(0);
|
||||
#endif
|
||||
assert(janet_checktype(janet_wrap_number(NAN), JANET_NUMBER));
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user