Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Suggestion: c library access



Sven Wischnowsky wrote:
> This reminded me: mathfunc uses drem(), but at least the Solaris 5.6 I 
> have access to here doesn't seem to have that.

It's not worth testing for, let's remove it.

--- Doc/Zsh/mod_mathfunc.yo.mf	Mon Dec 20 21:50:37 1999
+++ Doc/Zsh/mod_mathfunc.yo	Mon Dec 20 21:50:06 1999
@@ -37,7 +37,7 @@
 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).
--- Src/Modules/mathfunc.c.mf	Mon Dec 20 21:22:36 1999
+++ Src/Modules/mathfunc.c	Mon Dec 20 21:49:51 1999
@@ -45,7 +45,6 @@
 MF_COPYSIGN,
 MF_COS,
 MF_COSH,
-MF_DREM,
 MF_ERF,
 MF_ERFC,
 MF_EXP,
@@ -131,7 +130,6 @@
   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),
@@ -294,10 +292,6 @@
 
   case MF_COSH:
       retd = cosh(argd);
-      break;
-
-  case MF_DREM:
-      retd = drem(argd, argd2);
       break;
 
   case MF_ERF:

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>



Messages sorted by: Reverse Date, Date, Thread, Author