Bug 31272

Summary: Re: ieee(3) manpage errors
Product: Documentation Reporter: Dima Dorfman <dima>
Component: Books & ArticlesAssignee: GNATS administrator <gnats-admin>
Status: Closed FIXED    
Severity: Affects Only Me CC: FreeBSD-gnats-submit
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dima Dorfman 2001-10-15 00:10:01 UTC
 alex.neyman@auriga.ru wrote:
 > >Description:
 > There are several errors in ieee(3) manpage.
 > * finite/finitef description lacks closing parenthesis and a period.
 > * ilogb/ilogbf description refers to argument `n' which these function
 >   do not take.
 
 No, it's just assigning a name to its return value.  In means that it
 returns "x"'s exponent, which it calls "n".  Not that it's perfectly
 clear.  How about this (which fixes both problems):
 
 Index: ieee.3
 ===================================================================
 RCS file: /ref/cvsf/src/lib/msun/man/ieee.3,v
 retrieving revision 1.11
 diff -u -r1.11 ieee.3
 --- ieee.3	2001/10/13 12:23:23	1.11
 +++ ieee.3	2001/10/14 23:03:16
 @@ -102,14 +102,13 @@
  .Pf \\*(Ba Ns Fa x Ns \\*(Ba
  = \*(If or
  .Fa x
 -is \*(Na
 +is \*(Na).
  .Pp
  .Fn ilogb
  and
  .Fn ilogbf
  return
 -.Fa x Ns 's exponent
 -.Fa n ,
 +.Fa x Ns 's exponent,
  in integer format.
  .Fn ilogb \*(Pm\*(If
  returns
Comment 1 dd freebsd_committer freebsd_triage 2001-10-15 00:15:01 UTC
State Changed
From-To: open->closed

damn, this was supposed to be a reply!