From: Eric S. Raymond Date: Thu, 1 Apr 2004 16:20:55 +0000 (+0000) Subject: With the equation split out. X-Git-Tag: 1.0~34 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=567305fffb586591189e8920299316ed05f1fcd8;p=mad.git With the equation split out. --- diff --git a/doc/mad-manual.xml b/doc/mad-manual.xml index 63d6ed5..75d3e0c 100644 --- a/doc/mad-manual.xml +++ b/doc/mad-manual.xml @@ -4255,11 +4255,15 @@ except for the following new terms: Note 2: In the computations of the gross pay for the current week we -shall find it useful to be able t5o compute a function (which we shall +shall find it useful to be able to compute a function (which we shall call EXCESS.) of two numbers, say a and b, whose value is 0 if a ≤ b, and a-b if a > b. A formula for this function is -EXCESS.(a,b) = a - b + |a - b| / 2, + + + + + where | | denotethe usual "absolute value". In fact, by using this function, a simple one-line formula for this function is: