Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Specs] Need to codify fmin/fmax edge-case behavior in the LoongArch manual #86

Open
xry111 opened this issue Feb 23, 2025 · 0 comments

Comments

@xry111
Copy link
Member

xry111 commented Feb 23, 2025

In the spec it's only stated fmin/fmax satisfies minNum/maxNum in IEEE 754-2008. However IEEE 754-2008 has left the result of minNum(0.0, -0.0) and maxNum(0.0, -0.0) "either 0.0 or -0.0", but Glibc fminimum/fmaximum implementations are already using fmin/fmax and assuming them treating -0.0 as is smaller than 0.0. Thus if an implementation changes the edge-case behavior (note that the change won't violate the currect spec text), Glibc will be blown up.

Similar to #38.

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

No branches or pull requests

1 participant