Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
has_builtin_abs.hpp File Reference

Go to the source code of this file.

Macro Definition Documentation

◆ ARENE_HAS_BUILTIN_FABS

#define ARENE_HAS_BUILTIN_FABS

A platform support query for testing if __builtin_fabs is defined.

Usage:

#if ARENE_IS_ON(ARENE_HAS_BUILTIN_FABS)

The value of this query is determined as follows, in order of precedence:

  1. If __builtin_fabs is defined, it is ARENE_ON_BY_DEFAULT
  1. Otherwise, it is ARENE_OFF_BY_DEFAULT

◆ ARENE_HAS_BUILTIN_FABS_I_

#define ARENE_HAS_BUILTIN_FABS_I_   ARENE_OFF_BY_DEFAULT

◆ ARENE_HAS_BUILTIN_FABSF

#define ARENE_HAS_BUILTIN_FABSF

A platform support query for testing if __builtin_fabsf is defined.

Usage:

#if ARENE_IS_ON(ARENE_HAS_BUILTIN_FABSF)

The value of this query is determined as follows, in order of precedence:

  1. If __builtin_fabsf is defined, it is ARENE_ON_BY_DEFAULT
  1. Otherwise, it is ARENE_OFF_BY_DEFAULT

◆ ARENE_HAS_BUILTIN_FABSF_I_

#define ARENE_HAS_BUILTIN_FABSF_I_   ARENE_OFF_BY_DEFAULT