07 | 08 | 09 | 010 | 0b10 | 0×10 | 0d10 | |
---|---|---|---|---|---|---|---|
ruby | 7 | SyntaxError | SyntaxError | 8 | 2 | 16 | 10 |
python | 7 | SyntaxError | SyntaxError | 8 | 2 | 16 | SyntaxError |
javascript | 7 | 8 | 9 | 8 | SyntaxError: Unexpected token ILLEGAL | 16 | SyntaxError: Unexpected token ILLEGAL |
php | 7 | 0 | 0 | 8 | SyntaxError | 16 | SyntaxError |
scala | 7 | SyntaxError | SyntaxError | 8 | SyntaxError | 16 | SyntaxError |
groovy | 7 | SyntaxError | SyntaxError | 8 | SyntaxError | 16 | SyntaxError |
c | 7 | invalid digit in octal constant | invalid digit in octal constant | 8 | invalid suffix on integer constan | 16 | invalid suffix on integer constan |
java | 7 | number to large | number to large | 8 | illegal start of expression | 16 | illegal start of expression |
clang | 7 | invalid digit in octal constant | invalid digit in octal constant | 8 | 2 | 16 | invalid digit in octal constant |
perl | 7 | Illegal octal digit | Illegal octal digit | 8 | 2 | 16 | Bareword found where operator expected |
scheme48 | 7 | 8 | 9 | 10 | unsupported number syntax | unsupported number syntax | unsupported number syntax |
io | 7 | 8 | 9 | 10 | Number does not respond to ‘b’ | 16 | Number does not respond to ‘d’ |
pharo | 7 | 8 | 9 | 10 | SmallInter(Object) doesNotUnderstand #b10 | SmallInter(Object) doesNotUnderstand #x10 | 0 |
Created
March 25, 2011 12:33
-
-
Save stepahn/886775 to your computer and use it in GitHub Desktop.
numbers and stuff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment