diff options
author | 2002-10-11 12:41:09 +0000 | |
---|---|---|
committer | 2002-10-11 12:41:09 +0000 | |
commit | 1f9e2821123f36bc2aea7701df1770c12184b13c (patch) | |
tree | d9d5b55f22a55ebf2216811786f24c1d2eb35173 /lib/libm/noieee_src/n_cosh.c | |
parent | make CBQ aware of the pf API so that pf developers can play with CBQ. (diff) | |
download | wireguard-openbsd-1f9e2821123f36bc2aea7701df1770c12184b13c.tar.xz wireguard-openbsd-1f9e2821123f36bc2aea7701df1770c12184b13c.zip |
scalb() in vax libm is in fact scalbn(), so change the symbol name.
Only affects vax, which has no shared libraries, so no version change
needed for libm.
Someone with enough math skills ought to code a real scalb() on a rainy day...
Diffstat (limited to 'lib/libm/noieee_src/n_cosh.c')
-rw-r--r-- | lib/libm/noieee_src/n_cosh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/noieee_src/n_cosh.c b/lib/libm/noieee_src/n_cosh.c index 37dceb41359..820fefab011 100644 --- a/lib/libm/noieee_src/n_cosh.c +++ b/lib/libm/noieee_src/n_cosh.c @@ -44,7 +44,7 @@ static char sccsid[] = "@(#)cosh.c 8.1 (Berkeley) 6/4/93"; * * Required system supported functions : * copysign(x,y) - * scalb(x,N) + * scalbn(x,N) * * Required kernel function: * exp(x) @@ -127,7 +127,7 @@ double x; /* for x lies in [lnovfl, lnovfl+ln2], decrease x by ln(2^(max+1)) * and return 2^max*exp(x) to avoid unnecessary overflow */ - return(scalb(exp((x-mln2hi)-mln2lo), max)); + return(scalbn(exp((x-mln2hi)-mln2lo), max)); else return(exp(x)*half); /* for large x, cosh(x)=exp(x)/2 */ |