16 int r_val = FLA_SUCCESS;
27 float *buff_base = (
float * ) FLA_FLOAT_PTR( base );
28 float *buff_exp = (
float * ) FLA_FLOAT_PTR( exp );
29 float *buff_btoe = (
float * ) FLA_FLOAT_PTR( btoe );
31 *buff_btoe = ( float ) pow( *buff_base, *buff_exp );
38 double *buff_base = (
double * ) FLA_DOUBLE_PTR( base );
39 double *buff_exp = (
double * ) FLA_DOUBLE_PTR( exp );
40 double *buff_btoe = (
double * ) FLA_DOUBLE_PTR( btoe );
42 *buff_btoe = ( double ) pow( *buff_base, *buff_exp );
53 buff_btoe->
real = ( float ) pow( buff_base->
real, buff_exp->
real );
54 buff_btoe->
imag = 0.0;
59 case FLA_DOUBLE_COMPLEX:
65 buff_btoe->
real = ( double ) pow( buff_base->
real, buff_exp->
real );
66 buff_btoe->
imag = 0.0;
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18
FLA_Datatype FLA_Obj_datatype(FLA_Obj obj)
Definition: FLA_Query.c:13
int FLA_Datatype
Definition: FLA_type_defs.h:49
FLA_Error FLA_Pow_check(FLA_Obj base, FLA_Obj exp, FLA_Obj btoe)
Definition: FLA_Pow.c:13
Definition: blis_type_defs.h:138
double real
Definition: blis_type_defs.h:139
double imag
Definition: blis_type_defs.h:139
Definition: blis_type_defs.h:133
float imag
Definition: blis_type_defs.h:134
float real
Definition: blis_type_defs.h:134