Skip to content

Conversation

@keith-packard
Copy link
Contributor

I don't know if this is correct as I don't have access to the ARC V3 specification, but if GCC is correct and QEMU is wrong, then the fdrnd (and fsrnd) functions are supposed to round with ties rounding away from zero, just like the C round and roundf functions.

I don't know if this is correct as I don't have access to the ARC V3
specification, but if GCC is correct and QEMU is wrong, then the fdrnd
(and fsrnd) functions are supposed to round with ties rounding away
from zero, just like the C round and roundf functions.

Signed-off-by: Keith Packard <[email protected]>
@keith-packard
Copy link
Contributor Author

Reviewing the spec, this patch appears to be incorrect. Testing with the current bits shows no errors either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant