Problem 355. Back to basics 11 - Max Integer
Solution Stats
Problem Comments
-
2 Comments
the largest int64 integer is 2048 times larger than the largest double integer
The kind of problem where the test suite just gives away the answer.
Solution Comments
-
2 Comments
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.
Problem Recent Solvers723
Suggested Problems
-
246 Solvers
-
1471 Solvers
-
Fahrenheit to Celsius converter
427 Solvers
-
8687 Solvers
-
517 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!