ソースを参照

Remove the non-standard drem() function.

Ed Schouten 10 年 前
コミット
ae1e0c309a
4 ファイル変更1 行追加35 行削除
  1. 0 1
      include/openlibm_math.h
  2. 1 1
      src/Make.files
  3. 0 16
      src/w_drem.c
  4. 0 17
      src/w_dremf.c

+ 0 - 1
include/openlibm_math.h

@@ -303,7 +303,6 @@ double	trunc(double);
  * BSD math library entry points
  */
 #if __BSD_VISIBLE
-double	drem(double, double);
 int	finite(double) __pure2;
 int	isnanf(float) __pure2;
 

+ 1 - 1
src/Make.files

@@ -31,7 +31,7 @@ $(CUR_SRCS) = common.c \
 	s_signgam.c s_sin.c s_sincos.c \
 	s_sinf.c s_sincosf.c s_tan.c s_tanf.c s_tanh.c s_tanhf.c s_tgammaf.c \
 	s_trunc.c s_truncf.c s_cpow.c  s_cpowf.c \
-	w_cabs.c w_cabsf.c w_drem.c w_dremf.c
+	w_cabs.c w_cabsf.c
 
 ifneq ($(OS), WINNT)
 $(CUR_SRCS) += s_nan.c

+ 0 - 16
src/w_drem.c

@@ -1,16 +0,0 @@
-/*
- * drem() wrapper for remainder().
- *
- * Written by J.T. Conklin, <[email protected]>
- * Placed into the Public Domain, 1994.
- */
-
-#include <openlibm_math.h>
-#include "math_private.h"
-
-DLLEXPORT double
-drem(x, y)
-	double x, y;
-{
-	return remainder(x, y);
-}

+ 0 - 17
src/w_dremf.c

@@ -1,17 +0,0 @@
-/*
- * dremf() wrapper for remainderf().
- *
- * Written by J.T. Conklin, <[email protected]>
- * Placed into the Public Domain, 1994.
- */
-/* $FreeBSD: src/lib/msun/src/w_dremf.c,v 1.3 2004/07/28 05:53:18 kan Exp $ */
-
-#include <openlibm_math.h>
-
-#include "math_private.h"
-
-DLLEXPORT float
-dremf(float x, float y)
-{
-	return remainderf(x, y);
-}