我需要在Visual C++ 32位上使用函數_nextafterf來計算ULP中的某些結果與參考函數的距離。__extafterfter在Visual c + +
C99爲float和double提供nextafterf和nextafter,但Visual C++不支持這些函數。但是,Visual C++ 2010支持_nextafterf和nextafter,但只支持64位...使用32位模型只_nextafter支持並從...
有沒有辦法讓_nextafterf在Visual Studio上工作也許最多Visual C++ 2005?
感謝, 克里斯托夫
不知道C++。我聽說Visual Studio C編譯器不是C99編譯器。因此,如果您需要C99功能,請切換編譯器(或者向您的編譯器製造商施加壓力,在下一個版本中包含您需要的功能)。 – pmg 2011-05-05 13:35:47