erfc failure with large numbers

Shea, Philip pshea at dtri.net
Thu Oct 30 07:29:14 CDT 2008


I'm a little surprised that the library routine can't handle large
numbers.  There are good approximations to the erfc for large numbers
(see Proakis, John G., Digital Communications, pg. 40, eq. (2-1-96)).  I
have attached the output of the octave bug_report function.
 
octave-3.0.1.exe:4> erfc(1000)
 ***MESSAGE FROM ROUTINE DERFC IN LIBRARY SLATEC.
 ***POTENTIALLY RECOVERABLE ERROR, PROG ABORTED, TRACEBACK REQUESTED
 *  X SO BIG ERFC UNDERFLOWS
 *  ERROR NUMBER = 1
 *
 ***END OF MESSAGE
 
 ***JOB ABORT DUE TO UNRECOVERED ERROR.
0          ERROR MESSAGE SUMMARY
 LIBRARY    SUBROUTINE MESSAGE START             NERR     LEVEL
COUNT
 SLATEC     DERFC      X SO BIG ERFC UNDERF         1         1
1
 
 
Philip A. Shea
DTRI
1835 Alexander Bell Dr., Suite 400
Reston, VA 20191
703-707-8555 x6270 (Office)
877-383-8802 (Pager)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20081030/082e5bad/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: octave-bug-3.0.1.txt
Url: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20081030/082e5bad/attachment.txt 


More information about the Bug-octave mailing list