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 Solvers755
Suggested Problems
-
1371 Solvers
-
273 Solvers
-
Number of 1s in a binary string
6554 Solvers
-
262 Solvers
-
Find out value of sine given by degree.
300 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!