27 lines
681 B
C
27 lines
681 B
C
|
|
|
||
|
|
/* @(#)w_scalb.c 1.3 95/01/18 */
|
||
|
|
/*
|
||
|
|
* ====================================================
|
||
|
|
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
|
||
|
|
*
|
||
|
|
* Developed at SunSoft, a Sun Microsystems, Inc. business.
|
||
|
|
* Permission to use, copy, modify, and distribute this
|
||
|
|
* software is freely granted, provided that this notice
|
||
|
|
* is preserved.
|
||
|
|
* ====================================================
|
||
|
|
*/
|
||
|
|
|
||
|
|
/*
|
||
|
|
* wrapper scalb(double x, double fn) is provide for
|
||
|
|
* passing various standard test suite. One
|
||
|
|
* should use scalbn() instead.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include "math.h"
|
||
|
|
|
||
|
|
#include <errno.h>
|
||
|
|
|
||
|
|
double scalb(double x, double fn) /* wrapper scalb */
|
||
|
|
{
|
||
|
|
return __fdlibm_scalb(x, fn);
|
||
|
|
}
|