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_sinh.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_sinh.c')
-rw-r--r-- | lib/libm/noieee_src/n_sinh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/noieee_src/n_sinh.c b/lib/libm/noieee_src/n_sinh.c index 831d63824fe..4fa3e4b1b9c 100644 --- a/lib/libm/noieee_src/n_sinh.c +++ b/lib/libm/noieee_src/n_sinh.c @@ -44,7 +44,7 @@ static char sccsid[] = "@(#)sinh.c 8.1 (Berkeley) 6/4/93"; * * Required system supported functions : * copysign(x,y) - * scalb(x,N) + * scalbn(x,N) * * Required kernel functions: * expm1(x) ...return exp(x)-1 @@ -115,7 +115,7 @@ double x; else if(x <= lnovfl+0.7) /* subtract x by ln(2^(max+1)) and return 2^max*exp(x) to avoid unnecessary overflow */ - return(copysign(scalb(one+expm1((x-mln2hi)-mln2lo),max),sign)); + return(copysign(scalbn(one+expm1((x-mln2hi)-mln2lo),max),sign)); else /* sinh(+-INF) = +-INF, sinh(+-big no.) overflow to +-INF */ return( expm1(x)*sign ); |