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

« back to all changes in this revision

Viewing changes to routines/f2c/libf2c/derfc_.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
extern double erfc();
 
6
 
 
7
double derfc_(x) doublereal *x;
 
8
#else
 
9
extern double erfc(double);
 
10
 
 
11
double derfc_(doublereal *x)
 
12
#endif
 
13
{
 
14
#ifdef __MSC__ 
 
15
fprintf(stderr,"libf2c : No erf \n");
 
16
return(0);
 
17
#else 
 
18
return( erfc(*x) );
 
19
#endif
 
20
}