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
14{
15 return fp_barrier(sign ? -1.0 : 1.0) / 0.0;
16}
double __math_divzero(uint32_t sign)
UINT32 uint32_t
Definition: types.h:75
static double fp_barrier(double x)
Definition: libm.h:114
#define sign(x)
Definition: mapdesc.cc:613