/* @(#)w_pow.c 5.2 93/10/01 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
#include <LibConfig.h>
#include <sys/EfiCdefs.h>
#endif
/*
* wrapper pow(x,y) return x**y
*/
#include "math.h"
#include "math_private.h"
double
{
#ifdef _IEEE_LIBM
return __ieee754_pow(x,y);
#else
double z;
z=__ieee754_pow(x,y);
if(isnan(x)) {
if(y==0.0)
else
return z;
}
if(x==0.0){
if(y==0.0)
if(finite(y)&&y<0.0)
return z;
}
if(!finite(z)) {
if(isnan(z))
else
}
}
return z;
#endif
}