box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Box86 on Android, math problems

Open KreitinnSoftware opened this issue 1 year ago • 3 comments

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 d4f7ec6e 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.

KreitinnSoftware avatar Dec 09 '23 17:12 KreitinnSoftware

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?

ptitSeb avatar Dec 09 '23 20:12 ptitSeb

Don't know, I will search about

KreitinnSoftware avatar Dec 09 '23 20:12 KreitinnSoftware

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

KreitinnSoftware avatar Feb 04 '24 01:02 KreitinnSoftware