Thread (11 messages) flat view 11 messages, 6 authors, 2008-01-09

Re: [PATCH] Fix remainder calculating bug in single floating point division

From: Kumar Gala <hidden>
Date: 2008-01-08 06:23:23

On Jan 6, 2008, at 8:26 AM, Liu Yu wrote:
This bug exists in the emulation of floating point division for  
powerpc.

The original code cannot count the remainder correctly.
I can provide a test case to trigger this bug.
When use fdiv to count 1.1754941e-38f / 0.9999999f,
the result is expected to be 1.175494e-38f,
but we will get 1.174921e-38f in the original case.

Comments are always welcomed!
can you provide the test case that shows the error.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help