blob: 9fc8a81e7e7570dc60114a642b3ebd26d6efaa3f [file] [log] [blame]
//===-- Implementation of the GPU log2 function ---------------------------===//
//
// 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 "src/math/log2.h"
#include "src/__support/common.h"
#include "common.h"
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(double, log2, (double x)) { return internal::log2(x); }
} // namespace LIBC_NAMESPACE