Jan Vesely
139185dfc7
log: Use unary_decl instead of custom inc file
...
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-By: Aaron Watry <awatry@gmail.com>
llvm-svn: 317250
2017-11-02 19:48:43 +00:00
Tom Stellard
7a09e88b6e
Fix double implementation of log
...
We need to use M_LOG2E instead of M_LOG2E_F.
llvm-svn: 243132
2015-07-24 18:07:14 +00:00
Tom Stellard
44b6117dfd
Implement accurate log2 function
...
Use the implementation was ported from the AMD builtin library rather
than LLVM Intrinsics.
This has been tested with piglit, OpenCV, and the ocl conformance tests.
llvm-svn: 243131
2015-07-24 18:07:12 +00:00
Peter Collingbourne
d3c242ae64
Implement exp, exp2, log, log2, native_exp, native_exp2, native_log,
...
native_log2. Patch by Joshua Cranmer!
llvm-svn: 157598
2012-05-29 00:42:29 +00:00