~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to routines/f2c/libf2c/erfc_.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "f2c.h"
 
2
#include <stdio.h>
 
3
 
 
4
#ifdef KR_headers
 
5
double erfc();
 
6
double erfc_(x) real *x;
 
7
#else
 
8
extern double erfc(double);
 
9
double erfc_(real *x)
 
10
#endif
 
11
{
 
12
#ifdef __MSC__ 
 
13
fprintf(stderr,"libf2c : No erf \n");
 
14
return(0);
 
15
#else 
 
16
return( erfc(*x) );
 
17
#endif 
 
18
}