Project

General

Profile

Bug #830

long double print formatting broken on x86_64 when being built by clang

Added by Dmitry Moskalchuk over 4 years ago. Updated over 3 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/28/2014
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
x86_64
Host OS:
Toolchain:
clang-3.4, clang-3.5
Android version:
CrystaX Version:

Description

RUN test on emulator-5554 [x86_64]: crystax-test-stdio2 (test-printfloat)
/opt/android/android-sdk-mac/platform-tools/adb -s "emulator-5554" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./test-printfloat"
1..11
jni/test-printfloat.c:69: printf("%13LE", 1.0L) ==> [2.983231E-4947], expected [ 1.000000E+00]
jni/test-printfloat.c:75: printf("%13Lf", 1.0L) ==> [ 0.000000], expected [ 1.000000]
jni/test-printfloat.c:76: printf("%13LG", 1.0L) ==> [2.98323E-4947], expected [ 1]
Aborted
134
---> TEST FAILED!!

History

#1 Updated by Dmitry Moskalchuk over 4 years ago

  • Subject changed from printf("%13LE", 1.0L) produce wrong result on x86_64 when being built by clang to long double print formatting broken on x86_64 when being built by clang
  • Description updated (diff)

#2 Updated by Dmitry Moskalchuk over 4 years ago

  • Target version deleted (10.1.0)

#3 Updated by Dmitry Moskalchuk over 4 years ago

  • Priority changed from Low to Normal

#4 Updated by Dmitry Moskalchuk almost 4 years ago

  • Target version set to 10.3.0

#5 Updated by Dmitry Moskalchuk over 3 years ago

  • Target version changed from 10.3.0 to 11.0.0

Also available in: Atom PDF