Sorry if the question is silly for you. I need to catch overflow exception from power function. I cannot use
do {
try pow(3, 100)
}
catch {
.....
}
Xcode shows warning that pow doesn't have throws. If I remove word try from code, then Xcode shows warning that catch is unreachable.
Any idea what can be used?