summaryrefslogtreecommitdiff
path: root/src/math/__math_divzero.c
blob: 59d2135001ca33e1de10875ca05b361cf455a3ae (plain) (blame)
1
2
3
4
5
6
#include "libm.h"

double __math_divzero(uint32_t sign)
{
	return fp_barrier(sign ? -1.0 : 1.0) / 0.0;
}