Arcane  4.2.1.0
Developer documentation
Loading...
Searching...
No Matches
Limits.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* Limits.h (C) 2000-2026 */
9/* */
10/* Files encapsulating <limits> and associated types. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_LIMITS_H
13#define ARCANE_UTILS_LIMITS_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#ifndef ARCCORE_COMPILING_FRAMEWORK
19#include "arcane/utils/StdHeader.h"
20#endif
21
22// Since <limits> defines min, max, abs, ... and some software
23// makes them macros, we remove them
24#ifdef min
25#undef min
26#endif
27#ifdef max
28#undef max
29#endif
30#ifdef abs
31#undef abs
32#endif
33#include <limits>
34
35#include "arccore/base/FloatInfo.h"
36#include <float.h>
37
38/*---------------------------------------------------------------------------*/
39/*---------------------------------------------------------------------------*/
40
41#endif
42
43/*---------------------------------------------------------------------------*/
44/*---------------------------------------------------------------------------*/
Arcane configuration file.