0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-27 12:16:07 +00:00
Fraser Cormack ddc48fefe3
[libclc] Move native_(exp10|powr|tan) to CLC library ()
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.
2025-04-02 17:37:17 +01:00

17 lines
570 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/float/definitions.h>
#include <clc/internal/clc.h>
#include <clc/math/clc_native_exp2.h>
#define __FLOAT_ONLY
#define __CLC_BODY <clc_native_exp10.inc>
#include <clc/math/gentype.inc>