Bug 27446

Summary: frexp(3) man page error
Product: Documentation Reporter: tadayuki <tadayuki>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description tadayuki 2001-05-19 07:10:00 UTC
    frexp(3) man page says the return value's range is [1/2, 1] or zero.
    But [1/2, 1] is not correct. It should be [1/2, 1).

Fix: 

It seems you can't use macro for this.
    I don't know what is the best way to fix this.
Comment 1 tadayuki 2001-05-23 00:25:38 UTC
Sorry, There *is* a macro for this kind of situation.

-- 
Tadayuki OKADA

--- frexp.3.orig	Tue Mar  6 11:45:53 2001
+++ frexp.3	Tue May 22 12:35:01 2001
@@ -67,7 +67,7 @@
 is a
 .Em double
 with magnitude in the interval
-.Bq 1/2 , 1
+.Eq [ ) 1/2 , 1
 or zero, and
 .Fa value
 equals
Comment 2 tadayuki 2001-05-23 03:43:30 UTC
Is this better? (obtained from NetBSD)
.Bo 1/2 , 1 Pc

> --- frexp.3.orig	Tue Mar  6 11:45:53 2001
> +++ frexp.3	Tue May 22 12:35:01 2001
> @@ -67,7 +67,7 @@
>  is a
>  .Em double
>  with magnitude in the interval
> -.Bq 1/2 , 1
> +.Eq [ ) 1/2 , 1
>  or zero, and
>  .Fa value
>  equals

-- 
Tadayuki OKADA
Comment 3 ru freebsd_committer freebsd_triage 2001-05-23 13:39:21 UTC
State Changed
From-To: open->closed

Committed, thanks!