Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.bugs.4bsd Subject: SunOS 4.0 frexp() bug Keywords: frexp bug Message-ID: <14671@smoke.brl.mil> Date: 6 Dec 90 21:34:06 GMT Organization: U.S. Army Ballistic Research Laboratory (BRL), APG, MD. Lines: 8 We recently tried using a Sun-4 for the first time and immediately discovered that frexp(0.0,...) goes into an infinite loop. The only SunOS source code I could find around here seems to indicate that the frexp.c that I assume was used for the SPARC machine was obtained via BSD, which is why I'm posting this here. One wonders how frexp() could possibly have passed its pre-release tests..