ReactOS
0.4.16-dev-1946-g52006dd
Functions
round.c File Reference
#include <math.h>
Include dependency graph for round.c:
Go to the source code of this file.
Functions
double
round
(
double
arg
)
Function Documentation
◆
round()
double
round
(
double
arg
)
Definition at line
10
of file
round.c
.
11
{
12
if
(
arg
< 0.0)
13
return
ceil
(
arg
- 0.5);
14
else
15
return
floor
(
arg
+ 0.5);
16
}
floor
_Check_return_ _CRTIMP double __cdecl floor(_In_ double x)
ceil
_Check_return_ _CRTIMP double __cdecl ceil(_In_ double x)
void
Definition:
nsiface.idl:2307
sdk
lib
crt
math
round.c
Generated on Thu Dec 4 2025 06:26:19 for ReactOS by
1.9.6