From: joel@rtems.org
To: newlib@sourceware.org
Cc: Joel Sherrill <joel@rtems.org>
Subject: [PATCH 1/3] riscv/include/fenv.h: Use shared fenv.h.
Date: Wed, 28 Aug 2019 15:07:00 -0000 [thread overview]
Message-ID: <1567004819-5473-2-git-send-email-joel@rtems.org> (raw)
In-Reply-To: <1567004819-5473-1-git-send-email-joel@rtems.org>
From: Joel Sherrill <joel@rtems.org>
libc/include/fenv.h was a direct copy of this file.
---
newlib/libc/machine/riscv/include/fenv.h | 42 --------------------------------
1 file changed, 42 deletions(-)
delete mode 100644 newlib/libc/machine/riscv/include/fenv.h
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 <sys/fenv.h>
-
-#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
--
1.8.3.1
next prev parent reply other threads:[~2019-08-28 15:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-28 15:07 [PATCH 0/3] fenv support round 2 joel
2019-08-28 15:07 ` joel [this message]
2019-08-29 11:50 ` [PATCH 1/3] riscv/include/fenv.h: Use shared fenv.h Kito Cheng
2019-08-28 15:07 ` [PATCH 3/3] Add i386 and x86_64 fenv support from Cygwin joel
2019-08-28 15:41 ` Corinna Vinschen
2019-08-28 16:57 ` Joel Sherrill
2019-08-29 8:03 ` Corinna Vinschen
2019-08-28 15:07 ` [PATCH 2/3] libc/include/sys/fenv.h: Add glibc extension of FE_NOMASK_ENV joel
2019-08-28 23:40 ` Howland, Craig D. - US via newlib
2019-08-28 15:27 ` [PATCH 0/3] fenv support round 2 Corinna Vinschen
2019-08-28 15:45 ` Joel Sherrill
2019-08-28 15:51 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1567004819-5473-2-git-send-email-joel@rtems.org \
--to=joel@rtems.org \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).