Subject: pkg/15748: math/R package bug
To: None <gnats-bugs@gnats.netbsd.org>
From: Ray Brownrigg <Ray.Brownrigg@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 02/27/2002 15:28:00
>Number:         15748
>Category:       pkg
>Synopsis:       R-1.3.0 reports exp(log(0)) as NaN
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 26 18:29:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ray Brownrigg
>Release:        NetBSD 1.5ZA
>Organization:
Victoria University of Wellington
>Environment:
System: NetBSD turakirae.mcs.vuw.ac.nz 1.5ZA NetBSD 1.5ZA (MCS_WORKSTATION) #7: Tue Feb 5 21:31:08 NZDT 2002 mark@turakirae.mcs.vuw.ac.nz:/src/work/src/sys/arch/i386/compile/MCS_WORKSTATION i386
Architecture: i386
Machine: i386
turakirae>  ldd /src/work/pkgsrc/math/R/work.i386/R-1.3.0/bin/R.bin 
/src/work/pkgsrc/math/R/work.i386/R-1.3.0/bin/R.bin:
         -lF77.0 => /usr/pkg/lib/libF77.so.0
         -lI77.0 => /usr/pkg/lib/libI77.so.0
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lreadline.4 => /usr/pkg/lib/libreadline.so.4
         -lz.0 => /usr/lib/libz.so.0
         -ltermcap.0 => /usr/lib/libtermcap.so.0
         -lc.12 => /usr/lib/libc.so.12
turakirae>
>Description:
	The result from exp(log(0)) is NaN, whereas it should be 0 (as
reported by S-Plus and R on other platforms).  This prevents "make
check" from completing.
>How-To-Repeat:
	echo "exp(log(0))" | R --vanilla
>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: