std::isfinite on MSVC

前端 未结 2 1836
温柔的废话
温柔的废话 2020-12-11 16:21

The C++11 and C11 standard define the std::isfinite function. Visual Studio 2012 doesn\'t seem to provide it as part of the cmath or math.h, but ha

2条回答
  •  隐瞒了意图╮
    2020-12-11 17:01

    isfinite from amp_math.h can only be called from functions marked with restrict(amp), which doesn't make it interchangeable, even if the behavior was the same.

提交回复
热议问题