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

float __math_divzerof(uint32_t sign)
{
	return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f;
}