Namely, implementations of fegetexceptfflag, fesetexceptflag, fegetenv, fesetenv, feholdexcept and feupdateenv have been added. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D96935
21 lines
634 B
C++
21 lines
634 B
C++
//===-- Implementation header for fesetexceptflag ---------------*- 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_FENV_FESETEXCEPTFLAG_H
|
|
#define LLVM_LIBC_SRC_FENV_FESETEXCEPTFLAG_H
|
|
|
|
#include <fenv.h>
|
|
|
|
namespace __llvm_libc {
|
|
|
|
int fesetexceptflag(const fexcept_t *, int excepts);
|
|
|
|
} // namespace __llvm_libc
|
|
|
|
#endif // LLVM_LIBC_SRC_FENV_FESETEXCEPTFLAG_H
|