Implementations for exp(float) and exp(double) v2
authorJeroen Ketema <j.ketema@imperial.ac.uk>
Fri, 13 Jun 2014 09:40:09 +0000 (09:40 +0000)
committerJeroen Ketema <j.ketema@imperial.ac.uk>
Fri, 13 Jun 2014 09:40:09 +0000 (09:40 +0000)
commit82aaa4128647e8a12ce88588766088c94bd0d0f2
tree06cd830384473b74458baef3cb16cd62404688c3
parent24fe2322a2b8e92bf56515af80fdfe07c28ced5c
Implementations for exp(float) and exp(double) v2

Use separate implementations instead of a macro
to ensure the constant multiplied with is of
higher precision.

v2: Use the correct formula, spotted by Dan Liew <daniel.liew@imperial.ac.uk>

Reviewed-by: Aaron Warty <awatry@gmail.com>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 210891
libclc/generic/include/clc/math/exp.h
libclc/generic/include/clc/math/gentype.inc
libclc/generic/lib/SOURCES