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

Box86 on Android, math problems #910

Open
KreitinnSoftware opened this issue Dec 9, 2023 · 3 comments
Open

Box86 on Android, math problems #910

KreitinnSoftware opened this issue Dec 9, 2023 · 3 comments

Comments

@KreitinnSoftware
Copy link
Contributor

I compiled few tests from test dir, and runned on my x86_64 with Waydroid and in my phone with Box86.

On my PC running test07

~/box86/tests $ ./test07
0 is 0.000000, sin(pi/2) is 1.000000 and 3*1.5 is 4.500000.

On my Phone

~/box86/tests $ box86 test07
Box86 with Dynarec v0.3.3 d4f7ec6 built on Dec 9 2023 14:33:11
0 is 0.000000, sin(pi/2) is 0.000000 and 3*1.5 is 0.000000.

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 9, 2023

Looks like there is an issue with VAARG flot/double/long double parameter somehow. Do you know if long double (128bits) exist on android arm?

@KreitinnSoftware
Copy link
Contributor Author

Don't know, I will search about

@KreitinnSoftware
Copy link
Contributor Author

Looks like there is an issue with VAARG flot/double/long double parameter somehow. Do you know if long double (128bits) exist on android arm?

I have read https://developer.android.com/ndk/guides/abis and 32bit android is a 64bits long double

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

2 participants