diff options
-rw-r--r-- | Doc/Zsh/mod_mathfunc.yo | 2 | ||||
-rw-r--r-- | Src/Modules/mathfunc.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/Doc/Zsh/mod_mathfunc.yo b/Doc/Zsh/mod_mathfunc.yo index 720db6d28..91de7fe71 100644 --- a/Doc/Zsh/mod_mathfunc.yo +++ b/Doc/Zsh/mod_mathfunc.yo @@ -37,7 +37,7 @@ tt(lgamma). Note also that `tt(signgam())' and `tt(signgam)' are distinct expresssions. The following functions take two floating point arguments: tt(copysign), -tt(drem), tt(fmod), tt(hypot), tt(nextafter). +tt(fmod), tt(hypot), tt(nextafter). The following take an integer first argument and a floating point second argument: tt(jn), tt(yn). diff --git a/Src/Modules/mathfunc.c b/Src/Modules/mathfunc.c index 392424a48..5fef695ea 100644 --- a/Src/Modules/mathfunc.c +++ b/Src/Modules/mathfunc.c @@ -45,7 +45,6 @@ MF_CEIL, MF_COPYSIGN, MF_COS, MF_COSH, -MF_DREM, MF_ERF, MF_ERFC, MF_EXP, @@ -131,7 +130,6 @@ static struct mathfunc mftab[] = { NUMMATHFUNC("copysign", math_func, 2, 2, MF_COPYSIGN), NUMMATHFUNC("cos", math_func, 1, 1, MF_COS), NUMMATHFUNC("cosh", math_func, 1, 1, MF_COSH), - NUMMATHFUNC("drem", math_func, 2, 2, MF_DREM), NUMMATHFUNC("erf", math_func, 1, 1, MF_ERF), NUMMATHFUNC("erfc", math_func, 1, 1, MF_ERFC), NUMMATHFUNC("exp", math_func, 1, 1, MF_EXP), @@ -296,10 +294,6 @@ math_func(char *name, int argc, mnumber *argv, int id) retd = cosh(argd); break; - case MF_DREM: - retd = drem(argd, argd2); - break; - case MF_ERF: retd = erf(argd); break; |