Project

General

Profile

Actions

Bug #820

open

Hex rounding of floating point values works wrong for ARM soft float

Added by Dmitry M. almost 10 years ago. Updated about 9 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
libcrystax
Target version:
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

Actions

Also available in: Atom PDF