---
name: "std::abs.h"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::abs.h"
---

# std::abs.h(3cxx)

## NAME

std\_abs.h

## SYNOPSIS

### Namespaces

namespace **std**\
 ISO C++ entities toplevel namespace is std.

### Functions

constexpr double **std::abs** (double \_\_x)\
 constexpr float **std::abs** (float \_\_x)\
 long **std::abs** (long \_\_i)\
 constexpr long double **std::abs** (long double \_\_x)\
 long long **std::abs** (long long \_\_x)\

## Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include \<cmath\> or \< cstdlib\>.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
