Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6396c3f6
Commit
6396c3f6
authored
Sep 28, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(HUGE_VAL): Add #undef before HUGE_VAL
define, instead of surrounding it with #ifndef/#endif. From-SVN: r5508
parent
c3341e3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
gcc/ginclude/math-3300.h
+1
-2
gcc/ginclude/math-68881.h
+4
-2
No files found.
gcc/ginclude/math-3300.h
View file @
6396c3f6
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include <errno.h>
#include <errno.h>
#
if
ndef HUGE_VAL
#
u
ndef HUGE_VAL
#define HUGE_VAL \
#define HUGE_VAL \
({ \
({ \
double huge_val; \
double huge_val; \
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
:
/* no inputs */
); \
:
/* no inputs */
); \
huge_val; \
huge_val; \
})
})
#endif
__inline
static
const
double
sin
(
double
x
)
__inline
static
const
double
sin
(
double
x
)
{
{
...
...
gcc/ginclude/math-68881.h
View file @
6396c3f6
...
@@ -33,12 +33,15 @@
...
@@ -33,12 +33,15 @@
December 1989, add parens around `&' in pow.
December 1989, add parens around `&' in pow.
November 1990, added alternate definition of HUGE_VAL for Sun. */
November 1990, added alternate definition of HUGE_VAL for Sun. */
/* Changed by Jim Wilson:
September 1993, Use #undef before HUGE_VAL instead of #ifdef/#endif. */
#ifndef __math_68881
#ifndef __math_68881
#define __math_68881
#define __math_68881
#include <errno.h>
#include <errno.h>
#
if
ndef HUGE_VAL
#
u
ndef HUGE_VAL
#ifdef __sun__
#ifdef __sun__
/* The Sun assembler fails to handle the hex constant in the usual defn. */
/* The Sun assembler fails to handle the hex constant in the usual defn. */
#define HUGE_VAL \
#define HUGE_VAL \
...
@@ -57,7 +60,6 @@
...
@@ -57,7 +60,6 @@
huge_val; \
huge_val; \
})
})
#endif
#endif
#endif
__inline
static
const
double
__inline
static
const
double
sin
(
double
x
)
sin
(
double
x
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment