clang issue w/ sqrt resolved: clang does not inline functions by default, must use -O