Project

General

Profile

Actions

Bug #828

open

sscanf("3.14159265358979323846", "%Lg", &ld) return wrong value on x86_64 when being built by clang

Added by Dmitry M. about 9 years ago. Updated over 8 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 NDK Version:

Description

RUN test on emulator-5554 [x86_64]: crystax-test-stdio2 (test-scanfloat)
/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-scanfloat"
1..4
jni/test-scanfloat.c:169: ERROR: Assertion failed: "eq(LDBL, ld, 3.14159265358979323846L)"
Aborted
134
---> TEST FAILED!!

Actions #1

Updated by Dmitry M. about 9 years ago

  • Target version deleted (10.1.0)
Actions #2

Updated by Dmitry M. about 9 years ago

  • Priority changed from Low to Normal
Actions #3

Updated by Dmitry M. almost 9 years ago

  • Target version set to 10.3.0
Actions #4

Updated by Dmitry M. over 8 years ago

  • Target version changed from 10.3.0 to 11.0.0
Actions

Also available in: Atom PDF