Project

General

Profile

Actions

Bug #817

closed

printf("%LE", (long double)NAN) produce wrong result on 32-bit platforms

Added by Dmitry M. over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
libcrystax
Target version:
Start date:
12/26/2014
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
arm, mips, x86
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:

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:95: printf("%LE", (long double)NAN) ==> [2.696540E+308], expected [NAN]
1
---> TEST FAILED!!

Actions

Also available in: Atom PDF