Files
clang-p2996/libclc/generic/include/clc/math/erf.h
Jan Vesely c374cb76f4 math: Add erf ported from amd-builtins
The scalar float/double function bodies are a direct copy/paste,
aside from the removed (optional) code in float function body that
requires subnormals.

reviewers: jvesely

Patch by: Vedran Miletić <rivanvx@gmail.com>

llvm-svn: 268766
2016-05-06 18:02:30 +00:00

10 lines
159 B
C

#undef erfc
#define __CLC_BODY <clc/math/unary_decl.inc>
#define __CLC_FUNCTION erf
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_FUNCTION