Problem 42764. Find the next square number
52.76% Correct | 47.24% Incorrect
Last Solution submitted on Feb 23, 2023
Similar to Solution 844592, this fails for large x, e.g., x = 1e16, due to floating point errors
This solution fails for large x > 1e15 due to floating point errors (e.g., 1e16+0.5==1e16).
Problem Recent Solvers55
07 - Common functions and indexing 4
More from this Author2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!