Add math library support for copysign. From Brennan Ashton
This commit is contained in:
parent
c4cc30bafd
commit
1987004b72
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user