Go to the documentation of this file. 1#ifndef _GLUCAT_PORTABILITY_H
2#define _GLUCAT_PORTABILITY_H
34#include <boost/version.hpp>
38#if __cplusplus > 199711L
39# define _GLUCAT_ISNAN(x) (std::isnan(x))
40# define _GLUCAT_ISINF(x) (std::isinf(x))
42# define _GLUCAT_ISNAN(x) (x != x)
43# define _GLUCAT_ISINF(x) (!_GLUCAT_ISNAN(x) && _GLUCAT_ISNAN(x-x))
47#if BOOST_VERSION >= 103400
48# define UBLAS_ABS type_abs
49# define UBLAS_SQRT type_sqrt
52# define UBLAS_SQRT sqrt
56#if defined(HAVE_BITS_WORDSIZE_H)
57# include <bits/wordsize.h>