Initial import
This commit is contained in:
6
libc/math/__math_divzerof.c
Normal file
6
libc/math/__math_divzerof.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "libc/math/libm.h"
|
||||
|
||||
float __math_divzerof(uint32_t sign)
|
||||
{
|
||||
return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f;
|
||||
}
|
||||
Reference in New Issue
Block a user