All checks were successful
akbasic CI Build / cmake_build (push) Successful in 3m50s
akbasic CI Build / coverage (push) Successful in 4m4s
akbasic CI Build / sanitizers (push) Successful in 4m48s
akbasic CI Build / akgl_build (push) Successful in 9m55s
akbasic CI Build / mutation_test (push) Successful in 17m50s
Reflow the approved reference cases, shorten local fixture comments, and split the executable docs line so the 80-byte input buffer can read every source line. Co-authored-by: andrew <andrew@aklabs.net>
7 lines
219 B
QBasic
7 lines
219 B
QBasic
10 PRINT MOD(10, 3)
|
|
20 PRINT MOD(12, 5)
|
|
30 PRINT MOD(4, 2)
|
|
40 REM MOD() ONLY WORKS WITH INTEGERS - FLOATING-POINT RESULTS ARE UNRELIABLE
|
|
50 REM PRINT MOD(1.2, 0.4)
|
|
60 REM THERE IS NO ERROR THROWN HERE. JUST DONT DO IT.
|