Problem 355. Back to basics 11 - Max Integer
Solution Stats
Problem Comments
-
2 Comments
hubert andre
on 13 Apr 2016
the largest int64 integer is 2048 times larger than the largest double integer
Thorsten Bartel
on 7 May 2017
The kind of problem where the test suite just gives away the answer.
Solution Comments
-
2 Comments
Mattias
on 7 Jan 2015
Does anyone know why this wouldn't work?
John D'Errico
on 13 Oct 2016
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 Solvers750
Suggested Problems
-
Sum of diagonal of a square matrix
1479 Solvers
-
convert matrix to single column
375 Solvers
-
07 - Common functions and indexing 2
371 Solvers
-
Side of an equilateral triangle
4778 Solvers
-
Back to Basics - Find no. of elements in a matrix?
283 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!