Files
clang-p2996/libclc/clc/lib/generic/math/clc_half_recip.inc
Fraser Cormack dd89af7f55 [libclc] Move 'half' builtins to CLC library (#139563)
There are no changes to the generated bytecode.
2025-05-12 17:32:05 +01:00

12 lines
468 B
PHP

//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __clc_half_recip(__CLC_GENTYPE val) {
return 1.0f / val;
}