mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-04-19 01:17:08 +02:00
Remove the non-standard drem() function.
This commit is contained in:
parent
eca4ac8bf1
commit
ae1e0c309a
4 changed files with 1 additions and 35 deletions
|
@ -303,7 +303,6 @@ double trunc(double);
|
||||||
* BSD math library entry points
|
* BSD math library entry points
|
||||||
*/
|
*/
|
||||||
#if __BSD_VISIBLE
|
#if __BSD_VISIBLE
|
||||||
double drem(double, double);
|
|
||||||
int finite(double) __pure2;
|
int finite(double) __pure2;
|
||||||
int isnanf(float) __pure2;
|
int isnanf(float) __pure2;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ $(CUR_SRCS) = common.c \
|
||||||
s_signgam.c s_sin.c s_sincos.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_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 \
|
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)
|
ifneq ($(OS), WINNT)
|
||||||
$(CUR_SRCS) += s_nan.c
|
$(CUR_SRCS) += s_nan.c
|
||||||
|
|
16
src/w_drem.c
16
src/w_drem.c
|
@ -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);
|
|
||||||
}
|
|
|
@ -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);
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue