ReactOS
0.4.16-dev-1946-g52006dd
imaxabs.cpp
Go to the documentation of this file.
1
//
2
// imaxabs.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines imaxabs(), which computes the absolute value of an intmax_t.
7
//
8
#include <inttypes.h>
9
10
11
12
extern
"C"
intmax_t
__cdecl
imaxabs
(
intmax_t
const
number
)
13
{
14
return
number
< 0 ? -
number
:
number
;
15
}
16
17
18
19
/*
20
* Copyright (c) 1992-2010 by P.J. Plauger. ALL RIGHTS RESERVED.
21
* Consult your license regarding permissions and restrictions.
22
V5.30:0009 */
__cdecl
#define __cdecl
Definition:
accygwin.h:79
imaxabs
intmax_t __cdecl imaxabs(intmax_t const number)
Definition:
imaxabs.cpp:12
intmax_t
__MINGW_EXTENSION typedef long long intmax_t
Definition:
stdint.h:68
number
static unsigned int number
Definition:
dsound.c:1479
sdk
lib
ucrt
stdlib
imaxabs.cpp
Generated on Thu Dec 4 2025 06:16:22 for ReactOS by
1.9.6