ReactOS
0.4.16-dev-1946-g52006dd
lldiv.cpp
Go to the documentation of this file.
1
//
2
// lldiv.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines lldiv(), which performs a signed divide and returns the quotient and
7
// remainder. No validation of the arguments is done.
8
//
9
#include <stdlib.h>
10
11
12
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
13
#pragma function(lldiv)
14
#endif
15
extern
"C"
lldiv_t
__cdecl
lldiv
(
long
long
const
numerator,
long
long
const
denominator)
16
{
17
lldiv_t
result
;
18
19
result
.quot = numerator / denominator;
20
result
.rem = numerator % denominator;
21
22
return
result
;
23
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
result
GLuint64EXT * result
Definition:
glext.h:11304
lldiv
lldiv_t __cdecl lldiv(long long const numerator, long long const denominator)
Definition:
lldiv.cpp:15
lldiv_t
Definition:
stdlib.h:1427
sdk
lib
ucrt
stdlib
lldiv.cpp
Generated on Thu Dec 4 2025 06:16:22 for ReactOS by
1.9.6