NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/51530: ldexp(2.0,INT_MAX) still zero on mips64el



>Number:         51530
>Category:       lib
>Synopsis:       ldexp(2.0,INT_MAX) still zero on mips64el
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 05 10:35:00 +0000 2016
>Originator:     coypu
>Release:        NetBSD 7.99.39
>Organization:
>Environment:
NetBSD  7.99.39 NetBSD 7.99.39 (LOONGSON) #0: Wed Oct  5 08:47:03 IDT 2016  fly@box:/usr/obj-mips64el/sys/arch/evbmips/compile/LOONGSON evbmips
>Description:
$ cat test4.c
#include <math.h>
#include <stdio.h>

void main() { printf("%f\n", ldexp(2.0, INT_MAX)); }
$ cc -fno-builtin -msoft-float -O0 test4.c && ./a.out
/var/tmp//cc7UQBHd.s: Assembler messages:
/var/tmp//cc7UQBHd.s: Warning: .gnu_attribute 4,3 requires `softfloat'
0.000000
$ cc test4.c && ./a.out
/var/tmp//ccqkeIa7.s: Assembler messages:
/var/tmp//ccqkeIa7.s: Warning: .gnu_attribute 4,3 requires `softfloat'
0.000000

>How-To-Repeat:

>Fix:
?????



Home | Main Index | Thread Index | Old Index