PHP 8.3.31
Preview: limits.hpp Size: 6.21 KB
//opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/src/cxx_supportlib/vendor-modified/boost/limits.hpp

//  (C) Copyright John maddock 1999. 
//  (C) David Abrahams 2002.  Distributed under the Boost
//  Software License, Version 1.0. (See accompanying file
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// use this header as a workaround for missing <limits>

//  See http://www.boost.org/libs/compatibility/index.html for documentation.

#ifndef BOOST_LIMITS
#define BOOST_LIMITS

#include <boost/config.hpp>

#ifdef BOOST_NO_LIMITS
#  error "There is no std::numeric_limits suppport available."
#else
# include <limits>
#endif

#if (defined(BOOST_HAS_LONG_LONG) && defined(BOOST_NO_LONG_LONG_NUMERIC_LIMITS)) \
      || (defined(BOOST_HAS_MS_INT64) && defined(BOOST_NO_MS_INT64_NUMERIC_LIMITS))
// Add missing specializations for numeric_limits:
#ifdef BOOST_HAS_MS_INT64
#  define BOOST_LLT __int64
#  define BOOST_ULLT unsigned __int64
#else
#  define BOOST_LLT  ::boost::long_long_type
#  define BOOST_ULLT  ::boost::ulong_long_type
#endif

#include <climits>  // for CHAR_BIT

namespace std
{
  template<>
  class numeric_limits<BOOST_LLT> 
  {
   public:

      BOOST_STATIC_CONSTANT(bool, is_specialized = true);
#ifdef BOOST_HAS_MS_INT64
      static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0x8000000000000000i64; }
      static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0x7FFFFFFFFFFFFFFFi64; }
#elif defined(LLONG_MAX)
      static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LLONG_MIN; }
      static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LLONG_MAX; }
#elif defined(LONGLONG_MAX)
      static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LONGLONG_MIN; }
      static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LONGLONG_MAX; }
#else
      static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 1LL << (sizeof(BOOST_LLT) * CHAR_BIT - 1); }
      static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ~(min)(); }
#endif
      BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT -1);
      BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT) - 1) * 301L / 1000);
      BOOST_STATIC_CONSTANT(bool, is_signed = true);
      BOOST_STATIC_CONSTANT(bool, is_integer = true);
      BOOST_STATIC_CONSTANT(bool, is_exact = true);
      BOOST_STATIC_CONSTANT(int, radix = 2);
      static BOOST_LLT epsilon() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_LLT round_error() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };

      BOOST_STATIC_CONSTANT(int, min_exponent = 0);
      BOOST_STATIC_CONSTANT(int, min_exponent10 = 0);
      BOOST_STATIC_CONSTANT(int, max_exponent = 0);
      BOOST_STATIC_CONSTANT(int, max_exponent10 = 0);

      BOOST_STATIC_CONSTANT(bool, has_infinity = false);
      BOOST_STATIC_CONSTANT(bool, has_quiet_NaN = false);
      BOOST_STATIC_CONSTANT(bool, has_signaling_NaN = false);
      BOOST_STATIC_CONSTANT(bool, has_denorm = false);
      BOOST_STATIC_CONSTANT(bool, has_denorm_loss = false);
      static BOOST_LLT infinity() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_LLT quiet_NaN() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_LLT signaling_NaN() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_LLT denorm_min() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };

      BOOST_STATIC_CONSTANT(bool, is_iec559 = false);
      BOOST_STATIC_CONSTANT(bool, is_bounded = true);
      BOOST_STATIC_CONSTANT(bool, is_modulo = true);

      BOOST_STATIC_CONSTANT(bool, traps = false);
      BOOST_STATIC_CONSTANT(bool, tinyness_before = false);
      BOOST_STATIC_CONSTANT(float_round_style, round_style = round_toward_zero);
      
  };

  template<>
  class numeric_limits<BOOST_ULLT> 
  {
   public:

      BOOST_STATIC_CONSTANT(bool, is_specialized = true);
#ifdef BOOST_HAS_MS_INT64
      static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0ui64; }
      static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0xFFFFFFFFFFFFFFFFui64; }
#elif defined(ULLONG_MAX) && defined(ULLONG_MIN)
      static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULLONG_MIN; }
      static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULLONG_MAX; }
#elif defined(ULONGLONG_MAX) && defined(ULONGLONG_MIN)
      static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULONGLONG_MIN; }
      static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULONGLONG_MAX; }
#else
      static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0uLL; }
      static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ~0uLL; }
#endif
      BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT);
      BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT)) * 301L / 1000);
      BOOST_STATIC_CONSTANT(bool, is_signed = false);
      BOOST_STATIC_CONSTANT(bool, is_integer = true);
      BOOST_STATIC_CONSTANT(bool, is_exact = true);
      BOOST_STATIC_CONSTANT(int, radix = 2);
      static BOOST_ULLT epsilon() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_ULLT round_error() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };

      BOOST_STATIC_CONSTANT(int, min_exponent = 0);
      BOOST_STATIC_CONSTANT(int, min_exponent10 = 0);
      BOOST_STATIC_CONSTANT(int, max_exponent = 0);
      BOOST_STATIC_CONSTANT(int, max_exponent10 = 0);

      BOOST_STATIC_CONSTANT(bool, has_infinity = false);
      BOOST_STATIC_CONSTANT(bool, has_quiet_NaN = false);
      BOOST_STATIC_CONSTANT(bool, has_signaling_NaN = false);
      BOOST_STATIC_CONSTANT(bool, has_denorm = false);
      BOOST_STATIC_CONSTANT(bool, has_denorm_loss = false);
      static BOOST_ULLT infinity() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_ULLT quiet_NaN() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_ULLT signaling_NaN() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };
      static BOOST_ULLT denorm_min() BOOST_NOEXCEPT_OR_NOTHROW { return 0; };

      BOOST_STATIC_CONSTANT(bool, is_iec559 = false);
      BOOST_STATIC_CONSTANT(bool, is_bounded = true);
      BOOST_STATIC_CONSTANT(bool, is_modulo = true);

      BOOST_STATIC_CONSTANT(bool, traps = false);
      BOOST_STATIC_CONSTANT(bool, tinyness_before = false);
      BOOST_STATIC_CONSTANT(float_round_style, round_style = round_toward_zero);
      
  };
}
#endif 

#endif

Directory Contents

Dirs: 44 × Files: 63

Name Size Perms Modified Actions
algorithm DIR
- drwxr-xr-x 2026-02-11 07:32:09
Edit Download
assert DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
atomic DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
bind DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
chrono DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
concept DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
config DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
container DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
core DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
date_time DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
describe DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
detail DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
exception DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
function DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
integer DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
intrusive DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
io DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
iterator DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
libs DIR
- drwxr-xr-x 2026-02-11 07:32:09
Edit Download
move DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
mp11 DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
mpl DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
numeric DIR
- drwxr-xr-x 2026-02-11 07:32:09
Edit Download
optional DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
parameter DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
pool DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
predef DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
random DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
range DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
ratio DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
regex DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
smart_ptr DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
system DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
thread DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
tuple DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
typeof DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
unordered DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
utility DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
653 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.70 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
891 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
706 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.90 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.11 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
31.23 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.16 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
667 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
18.06 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.64 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
525 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
396 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
44.54 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.66 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
594 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
791 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.23 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
11.32 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
5.06 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
8.13 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
481 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.83 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
634 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
3.15 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
6.21 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
464 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.90 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
596 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
3.89 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
402 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
532 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.58 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.77 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
619 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
35.77 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
528 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
3.24 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
635 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
4.00 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
349 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
38.85 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
370 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.12 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
823 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
693 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
506 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
497 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
536 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
525 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
7.09 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
839 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
6.59 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.72 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
18.92 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
3.72 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
481 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
568 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
568 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
880 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.09 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
690 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
462 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).