libc/math: Fix wrong ouput in modf() API
The sign of integral part given by the modf() should be same as sign of input.
But for inputs between 0 and 1, the sign of integral part was not same as sign of input.
Signed-off-by: Lokesh B V <lokeshbv333@gmail.com>
parent
af8b2547
Please register or sign in to comment