Actions
Bug #820
openHex rounding of floating point values works wrong for ARM soft float
Start date:
12/26/2014
Due date:
% Done:
0%
Estimated time:
CPU Architecture:
arm
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:
Description
Running device test [armeabi]: crystax-test-stdio2 (test-printfloat) /opt/android/android-sdk-mac/platform-tools/adb -s "HT011P800177" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./test-printfloat" 1..11 ok 1 - printfloat ok 2 - printfloat ok 3 - printfloat ok 4 - printfloat ok 5 - printfloat ok 6 - printfloat ok 7 - printfloat ok 8 - printfloat ok 9 - printfloat ok 10 - printfloat jni/test-printfloat.c:326: printf("%.11A", 0x1.23456789abcdep0) ==> [0X1.23456789ABDP+0], expected [0X1.23456789ABCP+0] 1 ---> TEST FAILED!!
It only happens for 'armeabi' binaries, i.e. built in soft float mode
Updated by Dmitry M. almost 10 years ago
- Subject changed from printf("%.11A", 0x1.23456789abcdep0) produce wrong result for ARM soft float to Hex rounding of floating point values works wrong for ARM soft float
- Description updated (diff)
Updated by Dmitry M. almost 10 years ago
BTW, the same error happens when running this test on x86 emulator. On real x86 device test passed.
Updated by Dmitry M. about 9 years ago
- Target version changed from 10.3.0 to 11.0.0
Actions