Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c4db476c
Commit
c4db476c
authored
Mar 07, 2001
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define sunmath prototypes if sunmath.h was not included.
parent
f115a082
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Modules/fpectlmodule.c
Modules/fpectlmodule.c
+6
-0
No files found.
Modules/fpectlmodule.c
View file @
c4db476c
...
...
@@ -140,6 +140,12 @@ static void fpe_reset(Sigfunc *handler)
ld -G -o fpectlmodule.so -L/opt/SUNWspro/lib fpectlmodule.o -lsunmath -lm
*/
#include <math.h>
#ifndef _SUNMATH_H
extern
void
nonstandard_arithmetic
(
void
);
extern
int
ieee_flags
(
const
char
*
,
const
char
*
,
const
char
*
,
char
**
);
extern
long
ieee_handler
(
const
char
*
,
const
char
*
,
sigfpe_handler_type
);
#endif
char
*
mode
=
"exception"
,
*
in
=
"all"
,
*
out
;
(
void
)
nonstandard_arithmetic
();
(
void
)
ieee_flags
(
"clearall"
,
mode
,
in
,
&
out
);
...
...
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