> Date: Mon, 30 May 2016 19:33:04 +0200 > From: Theo Buehler <[email protected]> > > > Sorry. No. The use of originally still implies that these functions > > are no longer relevant for the purpose mentioned in the sentence. It > > doesn't make sense without the historic context. I'd simply leave the > > NOTES section as-is. > > Fine. Here's the diff only doing the markup stuff.
Not an mdoc expert, but this looks good to me. > Index: exp.3 > =================================================================== > RCS file: /var/cvs/src/lib/libm/man/exp.3,v > retrieving revision 1.33 > diff -u -p -r1.33 exp.3 > --- exp.3 26 Apr 2016 19:49:22 -0000 1.33 > +++ exp.3 30 May 2016 17:30:40 -0000 > @@ -139,7 +139,7 @@ function is an extended precision versio > .Pp > The > .Fn expm1 > -function computes the value exp(x)\-1 accurately even for tiny argument > +function computes the value exp(x) \(mi 1 accurately even for tiny argument > .Fa x . > The > .Fn expm1f > @@ -194,7 +194,7 @@ function is an extended precision versio > The > .Fn log1p > function computes > -the value of log(1+x) accurately even for tiny argument > +the value of log(1 + x) accurately even for tiny argument > .Fa x . > The > .Fn log1pf > @@ -277,12 +277,12 @@ are accurate enough that > .Fn pow integer integer > is exact until it is bigger than 2**53 for IEEE 754. > .Sh NOTES > -The functions exp(x)\-1 and log(1+x) are called > +The functions exp(x) \(mi 1 and log(1 + x) are called > expm1 and logp1 in BASIC on the Hewlett\-Packard HP-71B > and APPLE Macintosh, EXP1 and LN1 in Pascal, exp1 and log1 in C > on APPLE Macintoshes, where they have been provided to make > -sure financial calculations of ((1+x)**n\-1)/x, namely > -expm1(n*log1p(x))/x, will be accurate when x is tiny. > +sure financial calculations of ((1 + x)**n \(mi 1) / x, namely > +expm1(n * log1p(x)) / x, will be accurate when x is tiny. > They also provide accurate inverse hyperbolic functions. > .Pp > The function >
