NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-arm/46953: lib/libm/t_ceil fails on ARM
>Number: 46953
>Category: port-arm
>Synopsis: lib/libm/t_ceil fails on ARM
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-arm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 14 07:05:01 +0000 2012
>Originator: SAITOH Masanobu
>Release: netbsd-6, -current
>Organization:
-----------------------------------------------
SAITOH Masanobu (msaitoh%netbsd.org@localhost)
>Environment:
netbsd-6, -current
Architecture: arm
Machine: evbarm
>Description:
Some libm tests fail on arm.
Small test program is:
============ neginf.c ==================
#include <stdio.h>
double neginf0 = -1.0L / 0.0;
double neginf1 = -1.0L / 0.0;
int
main(int argc, char *argv[])
{
printf("%lf\n", neginf0 + neginf1);
return 0;
}
====================================
On i386:
% ./neginf
-inf
On arm:
% ./neginf
0.000000
>How-To-Repeat:
cd /usr/test/lib/libm
atf-run | atf-report
>Fix:
I don't know.
Home |
Main Index |
Thread Index |
Old Index