Subject: pkg/15748: math/R package bug
To: None <>
From: Ray Brownrigg <>
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
>Originator:     Ray Brownrigg
>Release:        NetBSD 1.5ZA
Victoria University of Wellington
System: NetBSD 1.5ZA NetBSD 1.5ZA (MCS_WORKSTATION) #7: Tue Feb 5 21:31:08 NZDT 2002 i386
Architecture: i386
Machine: i386
turakirae>  ldd /src/work/pkgsrc/math/R/work.i386/R-1.3.0/bin/R.bin 
         -lF77.0 => /usr/pkg/lib/
         -lI77.0 => /usr/pkg/lib/
         -lm.0 => /usr/lib/
         -lm.0 => /usr/lib/
         -lreadline.4 => /usr/pkg/lib/
         -lz.0 => /usr/lib/
         -ltermcap.0 => /usr/lib/
         -lc.12 => /usr/lib/
	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.
	echo "exp(log(0))" | R --vanilla