File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3232
3333#include <errno.h>
3434#include <ctype.h>
35- #include <math.h>
35+ #include "mymath.h"
3636
3737#ifdef i860
3838/* 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.
7171#endif
7272#endif
7373
74- #ifndef __STDC__
74+ #if !defined( __STDC__ ) && !defined( macintosh )
7575extern double fmod PROTO ((double , double ));
7676extern double pow PROTO ((double , double ));
7777#endif
7878
7979object *
80+ #ifdef __SC__
81+ newfloatobject (double fval )
82+ #else
8083newfloatobject (fval )
8184 double fval ;
85+ #endif
8286{
8387 /* For efficiency, this code is copied from newobject() */
8488 register floatobject * op = (floatobject * ) malloc (sizeof (floatobject ));
You can’t perform that action at this time.
0 commit comments