Bug #818
openprintf(FMT, [+/-]HUGE_VALL) produce wrong result on 32-bit platforms
0%
Description
Running device test [armeabi-v7a]: 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
jni/test-printfloat.c:106: printf("%4.2Le", HUGE_VALL) ==> [1.80e+308], expected [ inf]
1
---> TEST FAILED!!
Running device test [armeabi-v7a]: 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
jni/test-printfloat.c:112: printf("%Lf", -HUGE_VALL) ==> [-17976931348623159077293051907890247336179769789423065727343008115773267580550096313270847732240753], expected [-inf]
1
---> TEST FAILED!!
Updated by Dmitry M. over 9 years ago
Don't forget to update tests/device/crystax-test-stdio2 when this bug will be fixed
Updated by Dmitry M. over 9 years ago
- Subject changed from printf("%4.2Le", HUGE_VALL) produce wrong result on 32-bit platforms to printf(FMT, [+/-]HUGE_VALL) produce wrong result on 32-bit platforms
Updated by Dmitry M. over 8 years ago
- Target version changed from 10.3.0 to 11.0.0