From: martynas Date: Tue, 29 Jul 2008 18:38:21 +0000 (+0000) Subject: remove finite from ieee.3, and unmlink from makefile X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=85aa21b3f3aca0a477149854e16d6e19074c4f8d;p=openbsd remove finite from ieee.3, and unmlink from makefile --- diff --git a/lib/libm/Makefile b/lib/libm/Makefile index 3c4c1cac0fa..7206c08eec4 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,5 +1,5 @@ # $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $ -# $OpenBSD: Makefile,v 1.49 2008/07/24 09:40:16 martynas Exp $ +# $OpenBSD: Makefile,v 1.50 2008/07/29 18:38:21 martynas Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -172,8 +172,8 @@ MAN+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \ MLINKS+=erf.3 erfc.3 MLINKS+=exp.3 expm1.3 exp.3 log.3 exp.3 log10.3 exp.3 log1p.3 exp.3 pow.3 MLINKS+=hypot.3 cabs.3 -MLINKS+=ieee.3 copysign.3 ieee.3 drem.3 ieee.3 finite.3 ieee.3 ilogb.3 \ - ieee.3 nextafter.3 ieee.3 remainder.3 ieee.3 scalbn.3 +MLINKS+=ieee.3 copysign.3 ieee.3 drem.3 ieee.3 ilogb.3 ieee.3 nextafter.3 \ + ieee.3 remainder.3 ieee.3 scalbn.3 MLINKS+=logb.3 scalb.3 MLINKS+=logb.3 significand.3 MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3 @@ -208,7 +208,6 @@ MLINKS+=hypot.3 cabsf.3 MLINKS+=hypot.3 hypotf.3 MLINKS+=ieee.3 copysignf.3 MLINKS+=ieee.3 dremf.3 -MLINKS+=ieee.3 finitef.3 MLINKS+=ieee.3 ieeef.3 MLINKS+=ieee.3 ilogbf.3 MLINKS+=ieee.3 nextafterf.3 diff --git a/lib/libm/man/ieee.3 b/lib/libm/man/ieee.3 index 56e5839f5c3..7219a34662d 100644 --- a/lib/libm/man/ieee.3 +++ b/lib/libm/man/ieee.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ieee.3,v 1.14 2008/06/11 14:50:06 martynas Exp $ +.\" $OpenBSD: ieee.3,v 1.15 2008/07/29 18:38:21 martynas Exp $ .\" Copyright (c) 1985, 1991 Regents of the University of California. .\" All rights reserved. .\" @@ -28,14 +28,12 @@ .\" .\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91 .\" -.Dd $Mdocdate: June 11 2008 $ +.Dd $Mdocdate: July 29 2008 $ .Dt IEEE 3 .Os .Sh NAME .Nm copysign , .Nm copysignf , -.Nm finite , -.Nm finitef , .Nm ilogb , .Nm ilogbf , .Nm nextafter , @@ -52,10 +50,6 @@ .Ft float .Fn copysignf "float x" "float y" .Ft int -.Fn finite "double x" -.Ft int -.Fn finitef "float x" -.Ft int .Fn ilogb "double x" .Ft int .Fn ilogbf "float x" @@ -85,23 +79,6 @@ The function is a single precision version of .Fn copysign . .Pp -.Fn finite -returns the value 1 just when -\-\*(If \*(Lt -.Fa x -\*(Lt +\*(If; -otherwise a -zero is returned -(when -.Pf \\*(Ba Ns Fa x Ns \\*(Ba -= \*(If or -.Fa x -is \*(Na). -The -.Fn finitef -function is a single precision version of -.Fn finite . -.Pp .Fn ilogb returns .Fa x Ns 's exponent @@ -197,10 +174,3 @@ The .Nm ieee functions appeared in .Bx 4.3 . -.Sh BUGS -.Tn VAX -floating point does not have distinguished values -for either infinity or not-a-number. -The -.Fn finite -function always returns 1 on that architecture.