project(PERFORMANCE_WITH_NAN) cmake_minimum_required(VERSION 3.0) include(multiplePerfTestFunction.cmake) set(CONFIG_FUNCTION "512, 1024, 2048, 2664, 4096, 5008, 10000") set(NAN_DEF "std::numeric_limits::signaling_NaN()") set(INF_DEF "std::numeric_limits::infinity()") set(DENORM_DEF "std::numeric_limits::denorm_min()") set(MIN_TO_DENORM_DEF "std::numeric_limits::min()") allTestFunction("sin" "${CONFIG_FUNCTION}" "${VECTORIZED_OPTION}" "${NAN_DEF}" "${INF_DEF}" "${DENORM_DEF}" "${MIN_TO_DENORM_DEF}") allTestFunction("cos" "${CONFIG_FUNCTION}" "${VECTORIZED_OPTION}" "${NAN_DEF}" "${INF_DEF}" "${DENORM_DEF}" "${MIN_TO_DENORM_DEF}") allTestFunction("tan" "${CONFIG_FUNCTION}" "${VECTORIZED_OPTION}" "${NAN_DEF}" "${INF_DEF}" "${DENORM_DEF}" "${MIN_TO_DENORM_DEF}")