Skip to content
Commit 6062af0a authored by Lokesh B V's avatar Lokesh B V
Browse files

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: default avatarLokesh B V <lokeshbv333@gmail.com>
parent af8b2547
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment