summaryrefslogtreecommitdiff
path: root/libc/src/stdfix/rbits.h
blob: df11cec791ed1ddb7cb90dbfdf7e648d3592fa09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===-- Implementation header for rbits -------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBC_SRC_STDFIX_RBITS_H
#define LLVM_LIBC_SRC_STDFIX_RBITS_H

#include "include/llvm-libc-macros/stdfix-macros.h"
#include "include/llvm-libc-types/int_r_t.h"
#include "src/__support/macros/config.h"

namespace LIBC_NAMESPACE_DECL {

fract rbits(int_r_t x);

} // namespace LIBC_NAMESPACE_DECL

#endif // LLVM_LIBC_SRC_STDFIX_RBITS_H