diff options
author | 2009-10-26 21:06:19 +0000 | |
---|---|---|
committer | 2009-10-26 21:06:19 +0000 | |
commit | 8e30f2f1a127f70356678142dd3fb27c47c16b95 (patch) | |
tree | 413ddfe452f2c29d2e3ea37f4ea179f472e674b6 /lib/libm/src | |
parent | Fix usage; requested by jmc@ (diff) | |
download | wireguard-openbsd-8e30f2f1a127f70356678142dd3fb27c47c16b95.tar.xz wireguard-openbsd-8e30f2f1a127f70356678142dd3fb27c47c16b95.zip |
Add man pages for the fdim/fmin/fmax family of functions and make sure fdiml
is defined on all architectures.
ok jmc@ (man pages) and martynas@
Diffstat (limited to 'lib/libm/src')
-rw-r--r-- | lib/libm/src/s_fdim.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libm/src/s_fdim.c b/lib/libm/src/s_fdim.c index 4ce219448f7..12fb1382462 100644 --- a/lib/libm/src/s_fdim.c +++ b/lib/libm/src/s_fdim.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fdim.c,v 1.3 2008/12/10 01:08:24 martynas Exp $ */ +/* $OpenBSD: s_fdim.c,v 1.4 2009/10/26 21:06:19 kettenis Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -43,9 +43,4 @@ fn(type x, type y) \ DECL(double, fdim) DECL(float, fdimf) - -#if LDBL_MANT_DIG == 53 -#ifdef __weak_alias -__weak_alias(fdiml, fdim); -#endif /* __weak_alias */ -#endif /* LDBL_MANT_DIG == 53 */ +DECL(long double, fdiml) |