mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 10:46:02 +08:00
libc/math: fix fmod family operation
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
185de258bf
commit
8462b14d4e
@@ -44,7 +44,7 @@ float modff(float x, float *iptr)
|
||||
}
|
||||
else if (fabsf(x) < 1.0F)
|
||||
{
|
||||
*iptr = (x * 0.0F);
|
||||
*iptr = 0.0F;
|
||||
return x;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user