delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/11/10:15:10

From: "Patrick Mitran" <pmitran AT tsp DOT ece DOT mcgill DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010711082443 DOT 1314I-100000 AT is>
Subject: Re: libm question
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <f2Z27.23837$Sh2.1461360@carnaval.risq.qc.ca>
Date: Wed, 11 Jul 2001 14:04:59 GMT
NNTP-Posting-Host: 132.206.69.38
X-Complaints-To: abuse AT mcgill DOT ca
X-Trace: carnaval.risq.qc.ca 994860299 132.206.69.38 (Wed, 11 Jul 2001 10:04:59 EDT)
NNTP-Posting-Date: Wed, 11 Jul 2001 10:04:59 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1010711082443 DOT 1314I-100000 AT is...
>
> On Tue, 10 Jul 2001, Patrick Mitran wrote:
>
> > The program I'm writting should eventually run on unix/Linux boxes (for
> > my personal use only) so using the erfc() is not going to make my code
> > portatble.
>
> ??? AFAIK, erfc is available on most modern systems, including Unix and
> GNU/Linux systems.  You need to link with -lm, but that's all.
>
> So why did you think erfc makes your code non-portable?

Well, because it says that none of the variants of erf are ANSI in the
libm info. Now if it turns out that the systems I need it on do have
erfc in the libm library, then that solves my problem.

Patrick


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019