summaryrefslogtreecommitdiffstats
path: root/newlib/libm/machine/spu/s_erf.c
blob: 89ef0cf598dfb70e67354402909be495c8d86848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <math.h>
#include "headers/erf.h"

double erf(double x)
{
  return _erf(x);
}

/*
 * The default s_erf.c contains both erf and erfc, erfc was manually added
 * here, it could be moved to a separate file (similar for sf_erf.c).
 */
#include "headers/erfc.h"

double erfc(double x)
{
  return _erfc(x);
}