Add math library support for copysign. From Brennan Ashton

This commit is contained in:
Gregory Nutt 2015-01-26 18:52:28 -06:00
parent c4cc30bafd
commit 1987004b72

View File

@ -149,16 +149,6 @@ float nanf(FAR const char *tagp)
return 0;
}
float copysignf(float x, float y)
{
if (y < 0)
{
return -fabsf(x);
}
return fabsf(x);
}
float truncf(float x)
{
union