Does anyone know why this wouldn't work?
A very good reason why it would NOT work. You returned a double precision number. But a double can only store integers correctly as large as 2^53-1.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
assert(isequal(max_integer(),intmax('uint64')))
Error: Assertion failed.
|
5366 Solvers
415 Solvers
797 Solvers
243 Solvers
Simple equation: Annual salary
3408 Solvers