ID:1761487
 
BYOND Version:507
Operating System:Windows 7 Pro
Web Browser:Chrome 40.0.2214.45
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Just what it sounds like.

#define SOME_FLAG 999999999999999  //Compiles fine
#define SOME_FLAG 1000000000000000 //error: expected )


Expected Results:
Support extending a bit farther out at least: numbers that are incredibly long might cause problems, but it seems like 31 or 63 digits would be more reasonable considering single-precision floats go up to 3.4e38 or so (which takes 39 characters in decimal).

Actual Results:
Throws the "expected )" error, which incidentally is the same error thrown when trying to use a number with spaces in it.

Workarounds:
Can easily define large numbers using approximate representations in scientific notation, since for many of them that's their canonical style anyway. BYOND compiler also seems to perform at least a few math operations at compile time so it shouldn't be a problem to use exponents and other ops in constants. So this is probably not a critical issue.