abs, labs, llabs, imaxabs
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <stdlib.h>
|
||
| int abs( int n ); |
||
| long labs( long n ); |
||
| long long llabs( long long n ); |
||
| Defined in header <inttypes.h>
|
||
Berechnet den absoluten Wert einer ganzen Zahl .
Original:
Computes the absolute value of an integer number.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Parameter
| n | - | Integerwert
Original: integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten] Rückgabewert
Der absolute Wert des
n (d.h. |n|)Original:
The absolute value of
n (i.e. |n|)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Siehe auch
| Absolutwert einer Fließkommazahl (|x|) Original: absolute value of a floating point value (|x|) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
| C++ documentation for abs
|

