Project

General

Profile

Actions

Bug #821

open

sscanf("nan(1234)", "%e", &f) return non-NaN on mips device

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:
mips
Host OS:
Toolchain:
Android version:
4.0.3 (android-15)
CrystaX NDK Version:

Description

Running device test [mips]: crystax-test-stdio2 (test-scanfloat)
/opt/android/android-sdk-mac/platform-tools/adb -s "Novo7 Paladin" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./test-scanfloat"
1..4
ok 1 - scanfloat
assertion "fetestexcept(FE_INVALID) == 0" failed: file "jni/test-scanfloat.c", line 201, function "main"
Bus error
138
   ---> TEST FAILED!!
Actions #1

Updated by Dmitry M. almost 10 years ago

  • Subject changed from Comparing of float values with itself (f != f) set FE_INVALID flag on mips device to sscanf("nan(1234)", "%e", &f) return non-NaN on mips device
Actions #2

Updated by Dmitry M. almost 10 years ago

  • Priority changed from Low to Normal
Actions #3

Updated by Dmitry M. over 9 years ago

  • Target version set to 10.3.0
Actions #4

Updated by Dmitry M. over 9 years ago

  • Android version 4.0.3 (android-15) added
  • Android version deleted (4.0 (android-14))
Actions #5

Updated by Dmitry M. about 9 years ago

  • Target version changed from 10.3.0 to 11.0.0
Actions

Also available in: Atom PDF