Project

General

Profile

Bug #821

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

Added by Dmitry Moskalchuk over 4 years ago. Updated over 3 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 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!!

History

#1 Updated by Dmitry Moskalchuk over 4 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

#2 Updated by Dmitry Moskalchuk over 4 years ago

  • Priority changed from Low to Normal

#3 Updated by Dmitry Moskalchuk almost 4 years ago

  • Target version set to 10.3.0

#4 Updated by Dmitry Moskalchuk over 3 years ago

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

#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