Opened 10 years ago

Closed 8 years ago

#3146 closed defect (worksforme)

isnan() falsely reporting double as nan

Reported by: ambro@… Owned by: developers
Priority: high Milestone:
Component: toolchain Version:
Keywords: Cc:


The function isnan() reports some valid floating point 'double' values as nan. One particular number is 6250.47070227514860000. It can happen very fast while doing number crunching.
Platform is ARM ("-mtune=arm9tdmi -march=armv4"), GCC 4.2.3, uClibc 0.9.29.
I'm attaching a test case that includes a simple 'double' dissector. The third number is reported as nan by isnan().

Attachments (1)

test.c (2.1 KB) - added by anonymous 10 years ago.
test case

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by anonymous

test case

comment:1 Changed 10 years ago by ambro@…

I've reported this to uClibc the bug tracker:

comment:2 Changed 8 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

I tested it with your test case and it seems to be no longer present in current versions of uclibc

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.