X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: rugxulo AT gmail DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: V2.04 atof() with em387.dxe not working Date: Sun, 16 Dec 2007 17:43:58 -0800 (PST) Organization: http://groups.google.com Lines: 11 Message-ID: References: <476126B6 DOT 22072 DOT 1F8A1AB AT gerritvn DOT gpvno DOT co DOT za> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1197855838 9685 127.0.0.1 (17 Dec 2007 01:43:58 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 17 Dec 2007 01:43:58 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: t1g2000pra.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.24 (Windows NT 6.0; U; en),gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Dec 13, 4:33 am, "Gerrit van Niekerk" wrote: > Function atof("1.23") using DJGPP 2.04 with EM387.DXE (or linked with > LIBEMU.A) returns 0.000. So do strtof() and strtod(). > WMEMU.DXE works fine, but I prefer not to use it because of the GPL > license. AFAIK, you only have to provide unrestricted access to the sources for WMEMU, not your program, since it's (usually) dynamically loaded if you don't link with -lwmemu. Since your program isn't a derived work (and even moreso since you haven't released it, AFAIK), you aren't obligated.