From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36886 invoked by alias); 3 Sep 2019 14:54:28 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 36841 invoked by uid 9172); 3 Sep 2019 14:54:28 -0000 Date: Tue, 03 Sep 2019 14:54:00 -0000 Message-ID: <20190903145428.36839.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joel Sherrill To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] riscv/include/fenv.h: Use shared fenv.h. X-Act-Checkin: newlib-cygwin X-Git-Author: Joel Sherrill X-Git-Refname: refs/heads/master X-Git-Oldrev: 483fb49ea0a3f5ad14c71f672c72d43a692e2957 X-Git-Newrev: c7113713845eaf31cbc44bdf12b2001414c92cbb X-SW-Source: 2019-q3/txt/msg00031.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c7113713845eaf31cbc44bdf12b2001414c92cbb commit c7113713845eaf31cbc44bdf12b2001414c92cbb Author: Joel Sherrill Date: Tue Aug 27 07:46:47 2019 -0500 riscv/include/fenv.h: Use shared fenv.h. libc/include/fenv.h was a direct copy of this file. Diff: --- newlib/libc/machine/riscv/include/fenv.h | 42 -------------------------------- 1 file changed, 42 deletions(-) diff --git a/newlib/libc/machine/riscv/include/fenv.h b/newlib/libc/machine/riscv/include/fenv.h deleted file mode 100644 index 4795cc9..0000000 --- a/newlib/libc/machine/riscv/include/fenv.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright (c) 2017 SiFive Inc. All rights reserved. - - This copyrighted material is made available to anyone wishing to use, - modify, copy, or redistribute it subject to the terms and conditions - of the FreeBSD License. This program is distributed in the hope that - it will be useful, but WITHOUT ANY WARRANTY expressed or implied, - including the implied warranties of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. A copy of this license is available at - http://www.opensource.org/licenses. -*/ - -#ifndef _FENV_H -#define _FENV_H - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Exception */ -int feclearexcept(int excepts); -int fegetexceptflag(fexcept_t *flagp, int excepts); -int feraiseexcept(int excepts); -int fesetexceptflag(const fexcept_t *flagp, int excepts); -int fetestexcept(int excepts); - -/* Rounding mode */ -int fegetround(void); -int fesetround(int rounding_mode); - -/* Float environment */ -int fegetenv(fenv_t *envp); -int feholdexcept(fenv_t *envp); -int fesetenv(const fenv_t *envp); -int feupdateenv(const fenv_t *envp); - -#ifdef __cplusplus -} -#endif - -#endif