Remove the non-standard drem() function.

This commit is contained in:
Ed Schouten 2015-02-12 13:29:38 +01:00
parent eca4ac8bf1
commit ae1e0c309a
4 changed files with 1 additions and 35 deletions

View File

@ -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;

View File

@ -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

View File

@ -1,16 +0,0 @@
/*
* drem() wrapper for remainder().
*
* Written by J.T. Conklin, <jtc@wimsey.com>
* 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);
}

View File

@ -1,17 +0,0 @@
/*
* dremf() wrapper for remainderf().
*
* Written by J.T. Conklin, <jtc@wimsey.com>
* 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);
}