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
07e3a7e7
Commit
07e3a7e7
authored
Feb 27, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for MPW __SC__ compiler
parent
caeaafcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Objects/floatobject.c
Objects/floatobject.c
+6
-2
No files found.
Objects/floatobject.c
View file @
07e3a7e7
...
...
@@ -32,7 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <errno.h>
#include <ctype.h>
#include
<math.h>
#include
"mymath.h"
#ifdef i860
/* Cray APP has bogus definition of HUGE_VAL in <math.h> */
...
...
@@ -71,14 +71,18 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#endif
#if
ndef __STDC__
#if
!defined(__STDC__) && !defined(macintosh)
extern
double
fmod
PROTO
((
double
,
double
));
extern
double
pow
PROTO
((
double
,
double
));
#endif
object
*
#ifdef __SC__
newfloatobject
(
double
fval
)
#else
newfloatobject
(
fval
)
double
fval
;
#endif
{
/* For efficiency, this code is copied from newobject() */
register
floatobject
*
op
=
(
floatobject
*
)
malloc
(
sizeof
(
floatobject
));
...
...
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