ReactOS
0.4.17-dev-1321-g5c122a9
__math_divzero.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS CRT
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: Implementation of __math_divzero.
5
* COPYRIGHT: Imported from musl libc
6
* https://git.musl-libc.org/cgit/musl/tree/src/math/__math_divzero.c
7
* blob: 59d2135001ca33e1de10875ca05b361cf455a3ae
8
* See https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
9
*/
10
11
#include "
libm.h
"
12
13
double
__math_divzero
(
uint32_t
sign
)
14
{
15
return
fp_barrier
(
sign
? -1.0 : 1.0) / 0.0;
16
}
__math_divzero
double __math_divzero(uint32_t sign)
Definition:
__math_divzero.c:13
uint32_t
UINT32 uint32_t
Definition:
types.h:75
fp_barrier
static double fp_barrier(double x)
Definition:
libm.h:114
libm.h
sign
#define sign(x)
Definition:
mapdesc.cc:613
sdk
lib
crt
math
__math_divzero.c
Generated on Tue Nov 10 2026 06:22:08 for ReactOS by
1.9.6