问题
How do I disable fast math for a function defined in header file or for the entire source file?
#pragma GCC optimize ("no-fast-math")
Adding the line above to both (source file and header file) doesn't seem to work in this case.
来源:https://stackoverflow.com/questions/61941592/how-to-disable-fast-math-for-a-header-file-function