These are the three remaining native builtins not yet ported. There are elementwise versions of exp10 and tan which correspond to the intrinsics, which may be preferable to the current versions which route through other native builtins. Those could be changed in a follow-up if desired.
17 lines
561 B
Common Lisp
17 lines
561 B
Common Lisp
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <clc/clc.h>
|
|
#include <clc/math/clc_native_exp10.h>
|
|
|
|
#define __FLOAT_ONLY
|
|
#define FUNCTION native_exp10
|
|
#define __CLC_BODY <clc/shared/unary_def.inc>
|
|
|
|
#include <clc/math/gentype.inc>
|