NetBSD-Bugs archive

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

lib/45362: corner case floating point bugs (qemu?)

        Note: There was a bad value `' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         45362
>Category:       lib
>Synopsis:       corner case floating point bugs (qemu?)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 13 04:15:00 +0000 2011
>Originator:     Jukka Ruohonen
>Release:        5.99.55

This is a new tracker bug for specific floating point bugs that may or may
not be related to Qemu.

None of these fail on "native" 5.99.55 NetBSD amd64 system, but all of these
fail on 5.99.55 i386/qemu system:

        log1p(-Inf) != NaN
        log1p(-1.0) != -HUGE_VAL
        log1pf(-Inf) != NaN
        log1pf(-1.0) != -HUGE_VALF

In addition, i386/qemu does not detect this as NaN:

        const long double x = 0.0L / 0.0L;      



Home | Main Index | Thread Index | Old Index