https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70318
--- Comment #2 from Ian Mallett <ian at geometrian dot com> --- "Did you interpret the standard as providing int sqrt(int);" Yes; I did. You're right; what is supposed to exist is just "double sqrt(int);". Sorry for the noise.