From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Whats up with sqrt? Date: Tue, 20 Mar 2001 22:37:36 +0000 Lines: 14 Message-ID: References: <5BF60CD649EDD411A04600B0D049F53A092586 AT hydmail02 DOT hyd DOT wilco-int DOT com> <8361-Sat17Mar2001120444+0200-eliz AT is DOT elta DOT co DOT il> <83hf0plj6q DOT fsf AT mercury DOT st DOT hmc DOT edu> <7458-Mon19Mar2001214709+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: modem-87.neon.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news8.svr.pol.co.uk 985127810 14127 62.136.9.87 (20 Mar 2001 22:36:50 GMT) NNTP-Posting-Date: 20 Mar 2001 22:36:50 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote: > > > What arguments would cause the library function to be called? > > > > -fno-builtins, IIRC. > > I believe this is an answer to a different question: how to prevent > GCC from not calling the library for some of the math functions. I > think Jason was asking about the function arguments that would cause > GCC to call the library. Yes, I was trying to put together a simple example to demonstrate this behaviour in gcc. Not tried it yet, but I'm assuming sqrt(-1) would do the trick.