163d1a8abSmrg// TR1 cstdlib -*- C++ -*- 263d1a8abSmrg 3*ec02198aSmrg// Copyright (C) 2006-2020 Free Software Foundation, Inc. 463d1a8abSmrg// 563d1a8abSmrg// This file is part of the GNU ISO C++ Library. This library is free 663d1a8abSmrg// software; you can redistribute it and/or modify it under the 763d1a8abSmrg// terms of the GNU General Public License as published by the 863d1a8abSmrg// Free Software Foundation; either version 3, or (at your option) 963d1a8abSmrg// any later version. 1063d1a8abSmrg 1163d1a8abSmrg// This library is distributed in the hope that it will be useful, 1263d1a8abSmrg// but WITHOUT ANY WARRANTY; without even the implied warranty of 1363d1a8abSmrg// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1463d1a8abSmrg// GNU General Public License for more details. 1563d1a8abSmrg 1663d1a8abSmrg// Under Section 7 of GPL version 3, you are granted additional 1763d1a8abSmrg// permissions described in the GCC Runtime Library Exception, version 1863d1a8abSmrg// 3.1, as published by the Free Software Foundation. 1963d1a8abSmrg 2063d1a8abSmrg// You should have received a copy of the GNU General Public License and 2163d1a8abSmrg// a copy of the GCC Runtime Library Exception along with this program; 2263d1a8abSmrg// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 2363d1a8abSmrg// <http://www.gnu.org/licenses/>. 2463d1a8abSmrg 2563d1a8abSmrg/** @file tr1/cstdlib 2663d1a8abSmrg * This is a TR1 C++ Library header. 2763d1a8abSmrg */ 2863d1a8abSmrg 2963d1a8abSmrg#ifndef _GLIBCXX_TR1_CSTDLIB 3063d1a8abSmrg#define _GLIBCXX_TR1_CSTDLIB 1 3163d1a8abSmrg 3263d1a8abSmrg#pragma GCC system_header 3363d1a8abSmrg 3463d1a8abSmrg#include <cstdlib> 3563d1a8abSmrg 3663d1a8abSmrg#if _GLIBCXX_HOSTED 3763d1a8abSmrg 3863d1a8abSmrg#if _GLIBCXX_USE_C99_STDLIB 3963d1a8abSmrg 4063d1a8abSmrgnamespace std _GLIBCXX_VISIBILITY(default) 4163d1a8abSmrg{ 42*ec02198aSmrg_GLIBCXX_BEGIN_NAMESPACE_VERSION 43*ec02198aSmrg 4463d1a8abSmrgnamespace tr1 4563d1a8abSmrg{ 4663d1a8abSmrg#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 4763d1a8abSmrg // types 4863d1a8abSmrg using std::lldiv_t; 4963d1a8abSmrg 5063d1a8abSmrg // functions 5163d1a8abSmrg using std::llabs; 5263d1a8abSmrg using std::lldiv; 5363d1a8abSmrg#endif 5463d1a8abSmrg 5563d1a8abSmrg using std::atoll; 5663d1a8abSmrg using std::strtoll; 5763d1a8abSmrg using std::strtoull; 5863d1a8abSmrg 5963d1a8abSmrg using std::strtof; 6063d1a8abSmrg using std::strtold; 6163d1a8abSmrg 6263d1a8abSmrg // overloads 6363d1a8abSmrg using std::abs; 6463d1a8abSmrg#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 6563d1a8abSmrg using std::div; 6663d1a8abSmrg#endif 6763d1a8abSmrg} 68*ec02198aSmrg 69*ec02198aSmrg_GLIBCXX_END_NAMESPACE_VERSION 7063d1a8abSmrg} 7163d1a8abSmrg 7263d1a8abSmrg#endif // _GLIBCXX_USE_C99_STDLIB 7363d1a8abSmrg 7463d1a8abSmrg#endif // _GLIBCXX_HOSTED 7563d1a8abSmrg 7663d1a8abSmrg#endif // _GLIBCXX_TR1_CSTDLIB 77