CVS commit: src/lib/libm/man

2024-01-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jan 26 23:41:55 UTC 2024

Modified Files:
src/lib/libm/man: pow.3

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libm/man/pow.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/pow.3
diff -u src/lib/libm/man/pow.3:1.3 src/lib/libm/man/pow.3:1.4
--- src/lib/libm/man/pow.3:1.3	Fri Jan 26 19:27:30 2024
+++ src/lib/libm/man/pow.3	Fri Jan 26 23:41:55 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: pow.3,v 1.3 2024/01/26 19:27:30 nros Exp $
+.\" $NetBSD: pow.3,v 1.4 2024/01/26 23:41:55 wiz Exp $
 .\"
 .\" Copyright (c) 2011 Jukka Ruohonen 
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd Januray 24, 2024
+.Dd January 24, 2024
 .Dt POW 3
 .Os
 .Sh NAME



CVS commit: src/lib/libm/man

2024-01-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jan 26 23:41:55 UTC 2024

Modified Files:
src/lib/libm/man: pow.3

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libm/man/pow.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2023-06-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jun 11 15:28:21 UTC 2023

Modified Files:
src/lib/libm/man: sincos.3

Log Message:
Correct history (Brad Smith)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/man/sincos.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/sincos.3
diff -u src/lib/libm/man/sincos.3:1.1 src/lib/libm/man/sincos.3:1.2
--- src/lib/libm/man/sincos.3:1.1	Sat Aug 27 04:31:59 2022
+++ src/lib/libm/man/sincos.3	Sun Jun 11 11:28:21 2023
@@ -22,9 +22,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\" $FreeBSD: head/lib/msun/man/sincos.3 366583 2020-10-09 19:12:44Z gbe $
-.\" $NetBSD: sincos.3,v 1.1 2022/08/27 08:31:59 christos Exp $
+.\" $NetBSD: sincos.3,v 1.2 2023/06/11 15:28:21 christos Exp $
 .\"
-.Dd March 12, 2011
+.Dd June 11, 2023
 .Dt SINCOS 3
 .Os
 .Sh NAME
@@ -77,7 +77,7 @@ are assigned the values of sine and cosi
 .Xr sin 3 ,
 .Sh HISTORY
 These functions were added to
-.Fx 9.0
+.Fx 11.2
 and
 .Nx 10.0
 to aid in writing various complex function contained in



CVS commit: src/lib/libm/man

2023-06-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jun 11 15:28:21 UTC 2023

Modified Files:
src/lib/libm/man: sincos.3

Log Message:
Correct history (Brad Smith)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/man/sincos.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2023-05-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May  8 01:28:35 UTC 2023

Modified Files:
src/lib/libm/man: math.3

Log Message:
fix cross references (from Anon Ymous)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libm/man/math.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/math.3
diff -u src/lib/libm/man/math.3:1.28 src/lib/libm/man/math.3:1.29
--- src/lib/libm/man/math.3:1.28	Thu Sep 28 07:18:41 2017
+++ src/lib/libm/man/math.3	Sun May  7 21:28:35 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: math.3,v 1.28 2017/09/28 11:18:41 maya Exp $
+.\"	$NetBSD: math.3,v 1.29 2023/05/08 01:28:35 christos Exp $
 .\"
 .\" Copyright (c) 1985 Regents of the University of California.
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	from: @(#)math.3	6.10 (Berkeley) 5/6/91
 .\"
-.Dd September 28, 2017
+.Dd May 7, 2023
 .Dt MATH 3
 .Os
 .Sh NAME
@@ -66,10 +66,10 @@ Declarations for these functions may be 
 .It exp2 Ta Xr exp2 3 Ta base 2 exponential Ta ???
 .It expm1 Ta Xr expm1 3 Ta exp(x)\-1 Ta 1
 .It fabs Ta Xr fabs 3 Ta absolute value Ta 0
-.It fdim Ta Xr erf 3 Ta positive difference Ta ???
+.It fdim Ta Xr fdim 3 Ta positive difference Ta ???
 .It finite Ta Xr finite 3 Ta test for finity Ta 0
 .It floor Ta Xr floor 3 Ta integer no greater than Ta 0
-.It fma Ta Xr fmod 3 Ta fused multiply-add Ta ???
+.It fma Ta Xr fma 3 Ta fused multiply-add Ta ???
 .It fmax Ta Xr fmax 3 Ta maximum Ta 0
 .It fmin Ta Xr fmin 3 Ta minimum Ta 0
 .It fmod Ta Xr fmod 3 Ta remainder Ta ???



CVS commit: src/lib/libm/man

2023-05-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May  8 01:28:35 UTC 2023

Modified Files:
src/lib/libm/man: math.3

Log Message:
fix cross references (from Anon Ymous)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libm/man/math.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Sep  2 00:51:48 UTC 2019

Modified Files:
src/lib/libm/man: cos.3 sin.3

Log Message:
Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libm/man/cos.3
cvs rdiff -u -r1.14 -r1.15 src/lib/libm/man/sin.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/cos.3
diff -u src/lib/libm/man/cos.3:1.16 src/lib/libm/man/cos.3:1.17
--- src/lib/libm/man/cos.3:1.16	Thu Apr 25 23:17:24 2019
+++ src/lib/libm/man/cos.3	Mon Sep  2 00:51:48 2019
@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\" from: @(#)cos.3	5.1 (Berkeley) 5/2/91
-.\"	$NetBSD: cos.3,v 1.16 2019/04/25 23:17:24 maya Exp $
+.\"	$NetBSD: cos.3,v 1.17 2019/09/02 00:51:48 sevan Exp $
 .\"
-.Dd April 26, 2019
+.Dd September 2, 2019
 .Dt COS 3
 .Os
 .Sh NAME
@@ -79,3 +79,8 @@ The
 .Fn cos
 function conforms to
 .St -ansiC .
+.Sh HISTORY
+A
+.Fn cos
+function appeared in
+.At v1 .

Index: src/lib/libm/man/sin.3
diff -u src/lib/libm/man/sin.3:1.14 src/lib/libm/man/sin.3:1.15
--- src/lib/libm/man/sin.3:1.14	Thu Aug  7 16:44:49 2003
+++ src/lib/libm/man/sin.3	Mon Sep  2 00:51:48 2019
@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\" from: @(#)sin.3	6.7 (Berkeley) 4/19/91
-.\"	$NetBSD: sin.3,v 1.14 2003/08/07 16:44:49 agc Exp $
+.\"	$NetBSD: sin.3,v 1.15 2019/09/02 00:51:48 sevan Exp $
 .\"
-.Dd April 19, 1991
+.Dd September 2, 2019
 .Dt SIN 3
 .Os
 .Sh NAME
@@ -71,3 +71,8 @@ The
 .Fn sin
 function conforms to
 .St -ansiC .
+.Sh HISTORY
+A
+.Fn sin
+function appeared in
+.At v1 .



CVS commit: src/lib/libm/man

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Sep  2 00:51:48 UTC 2019

Modified Files:
src/lib/libm/man: cos.3 sin.3

Log Message:
Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libm/man/cos.3
cvs rdiff -u -r1.14 -r1.15 src/lib/libm/man/sin.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Sep  2 00:37:47 UTC 2019

Modified Files:
src/lib/libm/man: log.3

Log Message:
log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/man/log.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/log.3
diff -u src/lib/libm/man/log.3:1.6 src/lib/libm/man/log.3:1.7
--- src/lib/libm/man/log.3:1.6	Mon Jul  3 21:32:50 2017
+++ src/lib/libm/man/log.3	Mon Sep  2 00:37:47 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: log.3,v 1.6 2017/07/03 21:32:50 wiz Exp $
+.\" $NetBSD: log.3,v 1.7 2019/09/02 00:37:47 sevan Exp $
 .\"
 .\" Copyright (c) 2011 Jukka Ruohonen 
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 13, 2011
+.Dd September 2, 2019
 .Dt LOG 3
 .Os
 .Sh NAME
@@ -33,7 +33,7 @@
 .Nm log10 ,
 .Nm log10f ,
 .Nm log1p ,
-.Nm log1pf
+.Nm log1pf ,
 .Nm log2 ,
 .Nm log2f
 .Nd logarithm functions
@@ -166,5 +166,7 @@ unless
 The described functions conform to
 .St -isoC-99 .
 .Sh HISTORY
-The history of the logarithm functions dates back to
-.At v6 .
+A
+.Fn log
+function appeared in
+.At v1 .



CVS commit: src/lib/libm/man

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Sep  2 00:37:47 UTC 2019

Modified Files:
src/lib/libm/man: log.3

Log Message:
log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/man/log.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Sep  2 00:25:47 UTC 2019

Modified Files:
src/lib/libm/man: exp.3

Log Message:
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libm/man/exp.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Sep  2 00:25:47 UTC 2019

Modified Files:
src/lib/libm/man: exp.3

Log Message:
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libm/man/exp.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/exp.3
diff -u src/lib/libm/man/exp.3:1.31 src/lib/libm/man/exp.3:1.32
--- src/lib/libm/man/exp.3:1.31	Wed Feb  1 14:46:51 2017
+++ src/lib/libm/man/exp.3	Mon Sep  2 00:25:47 2019
@@ -27,9 +27,9 @@
 .\"
 .\" from: @(#)exp.3	6.12 (Berkeley) 7/31/91
 .\" $FreeBSD: src/lib/msun/man/exp.3,v 1.24 2008/01/18 21:43:00 das Exp $
-.\"	$NetBSD: exp.3,v 1.31 2017/02/01 14:46:51 abhinav Exp $
+.\"	$NetBSD: exp.3,v 1.32 2019/09/02 00:25:47 sevan Exp $
 .\"
-.Dd September 13, 2011
+.Dd September 2, 2019
 .Dt EXP 3
 .Os
 .Sh NAME
@@ -120,7 +120,7 @@ functions conform to
 The
 .Fn exp
 functions appeared in
-.At v6 .
+.At v1 .
 The
 .Fn expm1
 function appeared in



Re: CVS commit: src/lib/libm/man

2017-09-28 Thread maya
On Thu, Sep 28, 2017 at 03:52:00PM +0200, Joerg Sonnenberger wrote:
> On Thu, Sep 28, 2017 at 11:09:05AM +, Maya Rashish wrote:
> > Module Name:src
> > Committed By:   maya
> > Date:   Thu Sep 28 11:09:05 UTC 2017
> > 
> > Modified Files:
> > src/lib/libm/man: copysign.3
> > 
> > Log Message:
> > Remove CAVEATS section
> > 
> > The man page for an individual function is not the right place to discuss
> > the issues with negative zero
> 
> I disagree in this specific case. copysign(3) is very much concerned
> about the behavior of negative zero, since it fundamentally affects the
> behavior. Few other functions care since they don't have a pole at 0.

csqrt and clog have a branch cut on it :S
sure, I can revert/rephrase


Re: CVS commit: src/lib/libm/man

2017-09-28 Thread Joerg Sonnenberger
On Thu, Sep 28, 2017 at 11:09:05AM +, Maya Rashish wrote:
> Module Name:  src
> Committed By: maya
> Date: Thu Sep 28 11:09:05 UTC 2017
> 
> Modified Files:
>   src/lib/libm/man: copysign.3
> 
> Log Message:
> Remove CAVEATS section
> 
> The man page for an individual function is not the right place to discuss
> the issues with negative zero

I disagree in this specific case. copysign(3) is very much concerned
about the behavior of negative zero, since it fundamentally affects the
behavior. Few other functions care since they don't have a pole at 0.

Joerg


Re: CVS commit: src/lib/libm/man

2011-09-17 Thread Jukka Ruohonen
On Sat, Sep 17, 2011 at 03:32:22PM +0200, Thomas Klausner wrote:
  Remove rest of the NOTES and ERRORS and references to pow(3) family.
 
 Why did you remove so much of the explanations in the man page?

Because much of it was outdated or incomplete, and the rest was what others
have criticized of being man page spam (i.e. implementation details).

- Jukka.


Re: CVS commit: src/lib/libm/man

2011-09-12 Thread Joerg Sonnenberger
On Mon, Sep 12, 2011 at 02:44:27PM +, Jukka Ruohonen wrote:
 Module Name:  src
 Committed By: jruoho
 Date: Mon Sep 12 14:44:27 UTC 2011
 
 Modified Files:
   src/lib/libm/man: ldexp.3
 
 Log Message:
 Update and improve, and note that the long double variant is not supported.

Can we please *not* add such notes? They don't really add value, the
lack of a long double prototype at the beginning of the man page is
indicator enough. They do add just another thing to keep track of when
adding the support though.

Joerg


Re: CVS commit: src/lib/libm/man

2011-09-12 Thread Jukka Ruohonen
On Mon, Sep 12, 2011 at 08:00:53PM +0200, Joerg Sonnenberger wrote:
 On Mon, Sep 12, 2011 at 02:44:27PM +, Jukka Ruohonen wrote:
  Module Name:src
  Committed By:   jruoho
  Date:   Mon Sep 12 14:44:27 UTC 2011
  
  Modified Files:
  src/lib/libm/man: ldexp.3
  
  Log Message:
  Update and improve, and note that the long double variant is not supported.
 
 Can we please *not* add such notes? They don't really add value, the
 lack of a long double prototype at the beginning of the man page is
 indicator enough. They do add just another thing to keep track of when
 adding the support though.

Fair enough. But I think it is a BUG worth mentioning when an operating
system does not support standard C.

- Jukka.


Re: CVS commit: src/lib/libm/man

2011-09-12 Thread Iain Hibbert
On Mon, 12 Sep 2011, Jukka Ruohonen wrote:

 On Mon, Sep 12, 2011 at 08:00:53PM +0200, Joerg Sonnenberger wrote:
  On Mon, Sep 12, 2011 at 02:44:27PM +, Jukka Ruohonen wrote:
   Module Name:  src
   Committed By: jruoho
   Date: Mon Sep 12 14:44:27 UTC 2011
  
   Modified Files:
 src/lib/libm/man: ldexp.3
  
   Log Message:
   Update and improve, and note that the long double variant is not 
   supported.
 
  Can we please *not* add such notes? They don't really add value, the
  lack of a long double prototype at the beginning of the man page is
  indicator enough. They do add just another thing to keep track of when
  adding the support though.

 Fair enough. But I think it is a BUG worth mentioning when an operating
 system does not support standard C.

you could add a note about such things to src/doc/TODO, or file a PR?

iain


Re: CVS commit: src/lib/libm/man

2011-09-12 Thread Warner Losh
On Sep 12, 2011, at 1:09 PM, Jukka Ruohonen wrote:

 On Mon, Sep 12, 2011 at 08:00:53PM +0200, Joerg Sonnenberger wrote:
 On Mon, Sep 12, 2011 at 02:44:27PM +, Jukka Ruohonen wrote:
 Module Name:src
 Committed By:   jruoho
 Date:   Mon Sep 12 14:44:27 UTC 2011
 
 Modified Files:
 src/lib/libm/man: ldexp.3
 
 Log Message:
 Update and improve, and note that the long double variant is not supported.
 
 Can we please *not* add such notes? They don't really add value, the
 lack of a long double prototype at the beginning of the man page is
 indicator enough. They do add just another thing to keep track of when
 adding the support though.
 
 Fair enough. But I think it is a BUG worth mentioning when an operating
 system does not support standard C.

Then create a bunch of MLINKS to a generic 'This function isn't supported' 
page.  Since the implementors would need to create a real man page or real 
link, this seems to be to be less likely to cause confusion than notes 
everywhere that grow stale.

Warner



CVS commit: src/lib/libm/man

2010-03-07 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar  8 02:35:50 UTC 2010

Modified Files:
src/lib/libm/man: fdim.3 fmax.3

Log Message:
These functions are going to first appear in 5.1, not 6.0.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libm/man/fdim.3
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/man/fmax.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2010-03-07 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar  8 02:35:50 UTC 2010

Modified Files:
src/lib/libm/man: fdim.3 fmax.3

Log Message:
These functions are going to first appear in 5.1, not 6.0.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libm/man/fdim.3
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/man/fmax.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/fdim.3
diff -u src/lib/libm/man/fdim.3:1.2 src/lib/libm/man/fdim.3:1.3
--- src/lib/libm/man/fdim.3:1.2	Sun Oct  4 22:11:22 2009
+++ src/lib/libm/man/fdim.3	Mon Mar  8 02:35:50 2010
@@ -23,7 +23,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ $FreeBSD: src/lib/msun/man/fdim.3,v 1.1 2004/06/30 07:04:01 das Exp $
-.\ $NetBSD: fdim.3,v 1.2 2009/10/04 22:11:22 wiz Exp $
+.\ $NetBSD: fdim.3,v 1.3 2010/03/08 02:35:50 snj Exp $
 .\
 .Dd June 29, 2004
 .Dt FDIM 3
@@ -86,4 +86,4 @@
 These routines first appeared in
 .Fx 5.3
 and
-.Nx 6.0 .
+.Nx 5.1 .

Index: src/lib/libm/man/fmax.3
diff -u src/lib/libm/man/fmax.3:1.1 src/lib/libm/man/fmax.3:1.2
--- src/lib/libm/man/fmax.3:1.1	Sun Oct  4 22:04:30 2009
+++ src/lib/libm/man/fmax.3	Mon Mar  8 02:35:50 2010
@@ -23,7 +23,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ $FreeBSD: src/lib/msun/man/fmax.3,v 1.2 2005/01/14 09:12:05 ru Exp $
-.\ $NetBSD: fmax.3,v 1.1 2009/10/04 22:04:30 christos Exp $
+.\ $NetBSD: fmax.3,v 1.2 2010/03/08 02:35:50 snj Exp $
 .\
 .Dd June 29, 2004
 .Dt FMAX 3
@@ -97,4 +97,4 @@
 These routines first appeared in
 .Fx 5.3
 and
-.Nx 6.0 .
+.Nx 5.1 .



CVS commit: src/lib/libm/man

2010-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 12 15:51:01 UTC 2010

Modified Files:
src/lib/libm/man: exp.3

Log Message:
merge conflicting error sections.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libm/man/exp.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.