mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
libm: Correct some typos in source code comments
- s/modfied/modified/ - s/minimun/minimum/ While here, fix some mandoc warnings: - whitespace at end of input line - unusual Xr punctuation - missing comma before name Obtained from: NetBSD MFC after: 5 days
This commit is contained in:
parent
ad052eb076
commit
a52f4499ae
|
@ -46,7 +46,7 @@ ENTRY(ceil)
|
|||
orw $0x0800,%dx /* round towards +oo */
|
||||
andw $0xfbff,%dx
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
fldl 8(%ebp); /* round */
|
||||
frndint
|
||||
|
|
|
@ -18,7 +18,7 @@ ENTRY(ceilf)
|
|||
orw $0x0800,%dx /* round towards +oo */
|
||||
andw $0xfbff,%dx
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
flds 8(%ebp); /* round */
|
||||
frndint
|
||||
|
|
|
@ -16,7 +16,7 @@ ENTRY(ceill)
|
|||
orw $0x0800,%dx /* round towards +oo */
|
||||
andw $0xfbff,%dx
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
fldt 8(%ebp) /* round */
|
||||
frndint
|
||||
|
|
|
@ -46,7 +46,7 @@ ENTRY(floor)
|
|||
orw $0x0400,%dx /* round towards -oo */
|
||||
andw $0xf7ff,%dx
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
fldl 8(%ebp); /* round */
|
||||
frndint
|
||||
|
|
|
@ -18,7 +18,7 @@ ENTRY(floorf)
|
|||
orw $0x0400,%dx /* round towards -oo */
|
||||
andw $0xf7ff,%dx
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
flds 8(%ebp); /* round */
|
||||
frndint
|
||||
|
|
|
@ -16,7 +16,7 @@ ENTRY(floorl)
|
|||
orw $0x0400,%dx /* round towards -oo */
|
||||
andw $0xf7ff,%dx
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
fldt 8(%ebp) /* round */
|
||||
frndint
|
||||
|
|
|
@ -15,7 +15,7 @@ ENTRY(trunc)
|
|||
movw -4(%ebp),%dx
|
||||
orw $0x0c00,%dx /* round towards -oo */
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
fldl 8(%ebp) /* round */
|
||||
frndint
|
||||
|
|
|
@ -15,7 +15,7 @@ ENTRY(truncf)
|
|||
movw -4(%ebp),%dx
|
||||
orw $0x0c00,%dx /* round towards -oo */
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
flds 8(%ebp) /* round */
|
||||
frndint
|
||||
|
|
|
@ -15,7 +15,7 @@ ENTRY(truncl)
|
|||
movw -4(%ebp),%dx
|
||||
orw $0x0c00,%dx /* round towards -oo */
|
||||
movw %dx,-8(%ebp)
|
||||
fldcw -8(%ebp) /* load modfied control word */
|
||||
fldcw -8(%ebp) /* load modified control word */
|
||||
|
||||
fldt 8(%ebp) /* round */
|
||||
frndint
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
.Os
|
||||
.Sh NAME
|
||||
.Nm clog ,
|
||||
.Nm clogf ,
|
||||
.Nm clogf
|
||||
and
|
||||
.Nm clogl
|
||||
.Nd complex natural logarithm functions
|
||||
|
|
|
@ -89,7 +89,7 @@ return an \*(Na and raises an FE_INVALID exception.
|
|||
.Xr math 3 ,
|
||||
.Xr sin 3 ,
|
||||
.Xr sinpi 3 ,
|
||||
.Xr tan 3 ,
|
||||
.Xr tan 3
|
||||
.Sh AUTHORS
|
||||
The half\(encycle trignometric functions were written by
|
||||
.An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
|
||||
|
|
|
@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$");
|
|||
* = log(6.3*5.3) + lgamma(5.3)
|
||||
* = log(6.3*5.3*4.3*3.3*2.3) + lgamma(2.3)
|
||||
* 2. Polynomial approximation of lgamma around its
|
||||
* minimun ymin=1.461632144968362245 to maintain monotonicity.
|
||||
* minimum ymin=1.461632144968362245 to maintain monotonicity.
|
||||
* On [ymin-0.23, ymin+0.27] (i.e., [1.23164,1.73163]), use
|
||||
* Let z = x-ymin;
|
||||
* lgamma(x) = -1.214862905358496078218 + z^2*poly(z)
|
||||
|
|
Loading…
Reference in a new issue