the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 267 lines 8.6 kB view raw
1// (C) Copyright John Maddock 2008. 2// Use, modification and distribution are subject to the 3// Boost Software License, Version 1.0. (See accompanying file 4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6#ifndef BOOST_TR1_CMATH_HPP_INCLUDED 7# define BOOST_TR1_CMATH_HPP_INCLUDED 8# include <boost/tr1/detail/config.hpp> 9 10#ifdef BOOST_HAS_TR1_CMATH 11 12# if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) 13# include_next BOOST_TR1_HEADER(cmath) 14# else 15# include <boost/tr1/detail/config_all.hpp> 16# include BOOST_TR1_HEADER(cmath) 17# endif 18 19#else 20 21#include <boost/math/tr1.hpp> 22 23namespace std{ namespace tr1{ 24 25using boost::math::tr1::assoc_laguerre; 26using boost::math::tr1::assoc_laguerref; 27using boost::math::tr1::assoc_laguerrel; 28// [5.2.1.2] associated Legendre functions: 29using boost::math::tr1::assoc_legendre; 30using boost::math::tr1::assoc_legendref; 31using boost::math::tr1::assoc_legendrel; 32// [5.2.1.3] beta function: 33using boost::math::tr1::beta; 34using boost::math::tr1::betaf; 35using boost::math::tr1::betal; 36// [5.2.1.4] (complete) elliptic integral of the first kind: 37using boost::math::tr1::comp_ellint_1; 38using boost::math::tr1::comp_ellint_1f; 39using boost::math::tr1::comp_ellint_1l; 40// [5.2.1.5] (complete) elliptic integral of the second kind: 41using boost::math::tr1::comp_ellint_2; 42using boost::math::tr1::comp_ellint_2f; 43using boost::math::tr1::comp_ellint_2l; 44// [5.2.1.6] (complete) elliptic integral of the third kind: 45using boost::math::tr1::comp_ellint_3; 46using boost::math::tr1::comp_ellint_3f; 47using boost::math::tr1::comp_ellint_3l; 48#if 0 49// [5.2.1.7] confluent hypergeometric functions: 50using boost::math::tr1::conf_hyperg; 51using boost::math::tr1::conf_hypergf; 52using boost::math::tr1::conf_hypergl; 53#endif 54// [5.2.1.8] regular modified cylindrical Bessel functions: 55using boost::math::tr1::cyl_bessel_i; 56using boost::math::tr1::cyl_bessel_if; 57using boost::math::tr1::cyl_bessel_il; 58// [5.2.1.9] cylindrical Bessel functions (of the first kind): 59using boost::math::tr1::cyl_bessel_j; 60using boost::math::tr1::cyl_bessel_jf; 61using boost::math::tr1::cyl_bessel_jl; 62// [5.2.1.10] irregular modified cylindrical Bessel functions: 63using boost::math::tr1::cyl_bessel_k; 64using boost::math::tr1::cyl_bessel_kf; 65using boost::math::tr1::cyl_bessel_kl; 66// [5.2.1.11] cylindrical Neumann functions; 67// cylindrical Bessel functions (of the second kind): 68using boost::math::tr1::cyl_neumann; 69using boost::math::tr1::cyl_neumannf; 70using boost::math::tr1::cyl_neumannl; 71// [5.2.1.12] (incomplete) elliptic integral of the first kind: 72using boost::math::tr1::ellint_1; 73using boost::math::tr1::ellint_1f; 74using boost::math::tr1::ellint_1l; 75// [5.2.1.13] (incomplete) elliptic integral of the second kind: 76using boost::math::tr1::ellint_2; 77using boost::math::tr1::ellint_2f; 78using boost::math::tr1::ellint_2l; 79// [5.2.1.14] (incomplete) elliptic integral of the third kind: 80using boost::math::tr1::ellint_3; 81using boost::math::tr1::ellint_3f; 82using boost::math::tr1::ellint_3l; 83// [5.2.1.15] exponential integral: 84using boost::math::tr1::expint; 85using boost::math::tr1::expintf; 86using boost::math::tr1::expintl; 87// [5.2.1.16] Hermite polynomials: 88using boost::math::tr1::hermite; 89using boost::math::tr1::hermitef; 90using boost::math::tr1::hermitel; 91#if 0 92// [5.2.1.17] hypergeometric functions: 93using boost::math::tr1::hyperg; 94using boost::math::tr1::hypergf; 95using boost::math::tr1::hypergl; 96#endif 97// [5.2.1.18] Laguerre polynomials: 98using boost::math::tr1::laguerre; 99using boost::math::tr1::laguerref; 100using boost::math::tr1::laguerrel; 101// [5.2.1.19] Legendre polynomials: 102using boost::math::tr1::legendre; 103using boost::math::tr1::legendref; 104using boost::math::tr1::legendrel; 105// [5.2.1.20] Riemann zeta function: 106using boost::math::tr1::riemann_zeta; 107using boost::math::tr1::riemann_zetaf; 108using boost::math::tr1::riemann_zetal; 109// [5.2.1.21] spherical Bessel functions (of the first kind): 110using boost::math::tr1::sph_bessel; 111using boost::math::tr1::sph_besself; 112using boost::math::tr1::sph_bessell; 113// [5.2.1.22] spherical associated Legendre functions: 114using boost::math::tr1::sph_legendre; 115using boost::math::tr1::sph_legendref; 116using boost::math::tr1::sph_legendrel; 117// [5.2.1.23] spherical Neumann functions; 118// spherical Bessel functions (of the second kind): 119using boost::math::tr1::sph_neumann; 120using boost::math::tr1::sph_neumannf; 121using boost::math::tr1::sph_neumannl; 122 123// types 124using boost::math::tr1::double_t; 125using boost::math::tr1::float_t; 126// functions 127using boost::math::tr1::acosh; 128using boost::math::tr1::acoshf; 129using boost::math::tr1::acoshl; 130using boost::math::tr1::asinh; 131using boost::math::tr1::asinhf; 132using boost::math::tr1::asinhl; 133using boost::math::tr1::atanh; 134using boost::math::tr1::atanhf; 135using boost::math::tr1::atanhl; 136using boost::math::tr1::cbrt; 137using boost::math::tr1::cbrtf; 138using boost::math::tr1::cbrtl; 139using boost::math::tr1::copysign; 140using boost::math::tr1::copysignf; 141using boost::math::tr1::copysignl; 142using boost::math::tr1::erf; 143using boost::math::tr1::erff; 144using boost::math::tr1::erfl; 145using boost::math::tr1::erfc; 146using boost::math::tr1::erfcf; 147using boost::math::tr1::erfcl; 148#if 0 149using boost::math::tr1::exp2; 150using boost::math::tr1::exp2f; 151using boost::math::tr1::exp2l; 152#endif 153using boost::math::tr1::expm1; 154using boost::math::tr1::expm1f; 155using boost::math::tr1::expm1l; 156#if 0 157using boost::math::tr1::fdim; 158using boost::math::tr1::fdimf; 159using boost::math::tr1::fdiml; 160using boost::math::tr1::fma; 161using boost::math::tr1::fmaf; 162using boost::math::tr1::fmal; 163#endif 164using boost::math::tr1::fmax; 165using boost::math::tr1::fmaxf; 166using boost::math::tr1::fmaxl; 167using boost::math::tr1::fmin; 168using boost::math::tr1::fminf; 169using boost::math::tr1::fminl; 170using boost::math::tr1::hypot; 171using boost::math::tr1::hypotf; 172using boost::math::tr1::hypotl; 173#if 0 174using boost::math::tr1::ilogb; 175using boost::math::tr1::ilogbf; 176using boost::math::tr1::ilogbl; 177#endif 178using boost::math::tr1::lgamma; 179using boost::math::tr1::lgammaf; 180using boost::math::tr1::lgammal; 181#if 0 182using boost::math::tr1::llrint; 183using boost::math::tr1::llrintf; 184using boost::math::tr1::llrintl; 185#endif 186using boost::math::tr1::llround; 187using boost::math::tr1::llroundf; 188using boost::math::tr1::llroundl; 189using boost::math::tr1::log1p; 190using boost::math::tr1::log1pf; 191using boost::math::tr1::log1pl; 192#if 0 193using boost::math::tr1::log2; 194using boost::math::tr1::log2f; 195using boost::math::tr1::log2l; 196using boost::math::tr1::logb; 197using boost::math::tr1::logbf; 198using boost::math::tr1::logbl; 199using boost::math::tr1::lrint; 200using boost::math::tr1::lrintf; 201using boost::math::tr1::lrintl; 202#endif 203using boost::math::tr1::lround; 204using boost::math::tr1::lroundf; 205using boost::math::tr1::lroundl; 206#if 0 207using boost::math::tr1::nan; 208using boost::math::tr1::nanf; 209using boost::math::tr1::nanl; 210using boost::math::tr1::nearbyint; 211using boost::math::tr1::nearbyintf; 212using boost::math::tr1::nearbyintl; 213#endif 214using boost::math::tr1::nextafter; 215using boost::math::tr1::nextafterf; 216using boost::math::tr1::nextafterl; 217using boost::math::tr1::nexttoward; 218using boost::math::tr1::nexttowardf; 219using boost::math::tr1::nexttowardl; 220#if 0 221using boost::math::tr1::remainder; 222using boost::math::tr1::remainderf; 223using boost::math::tr1::remainderl; 224using boost::math::tr1::remquo; 225using boost::math::tr1::remquof; 226using boost::math::tr1::remquol; 227using boost::math::tr1::rint; 228using boost::math::tr1::rintf; 229using boost::math::tr1::rintl; 230#endif 231using boost::math::tr1::round; 232using boost::math::tr1::roundf; 233using boost::math::tr1::roundl; 234#if 0 235using boost::math::tr1::scalbln; 236using boost::math::tr1::scalblnf; 237using boost::math::tr1::scalblnl; 238using boost::math::tr1::scalbn; 239using boost::math::tr1::scalbnf; 240using boost::math::tr1::scalbnl; 241#endif 242using boost::math::tr1::tgamma; 243using boost::math::tr1::tgammaf; 244using boost::math::tr1::tgammal; 245using boost::math::tr1::trunc; 246using boost::math::tr1::truncf; 247using boost::math::tr1::truncl; 248// C99 macros defined as C++ templates 249using boost::math::tr1::signbit; 250using boost::math::tr1::fpclassify; 251using boost::math::tr1::isfinite; 252using boost::math::tr1::isinf; 253using boost::math::tr1::isnan; 254using boost::math::tr1::isnormal; 255#if 0 256using boost::math::tr1::isgreater; 257using boost::math::tr1::isgreaterequal; 258using boost::math::tr1::isless; 259using boost::math::tr1::islessequal; 260using boost::math::tr1::islessgreater; 261using boost::math::tr1::isunordered; 262#endif 263} } // namespaces 264 265#endif // BOOST_HAS_TR1_CMATH 266 267#endif // BOOST_TR1_CMATH_HPP_INCLUDED