put a cast within the sqrt() call to help Solaris 13 compile.