libflame  revision_anchor
Functions
FLA_Pow.c File Reference

(r)

Functions

FLA_Error FLA_Pow_check (FLA_Obj base, FLA_Obj exp, FLA_Obj btoe)
 

Function Documentation

◆ FLA_Pow_check()

FLA_Error FLA_Pow_check ( FLA_Obj  base,
FLA_Obj  exp,
FLA_Obj  btoe 
)

References FLA_Check_floating_object(), FLA_Check_if_scalar(), and FLA_Check_nonconstant_object().

Referenced by FLA_Pow().

14 {
15  FLA_Error e_val;
16 
17  e_val = FLA_Check_floating_object( base );
18  FLA_Check_error_code( e_val );
19 
20  e_val = FLA_Check_floating_object( exp );
21  FLA_Check_error_code( e_val );
22 
23  e_val = FLA_Check_floating_object( btoe );
24  FLA_Check_error_code( e_val );
25 
26  e_val = FLA_Check_if_scalar( base );
27  FLA_Check_error_code( e_val );
28 
29  e_val = FLA_Check_if_scalar( exp );
30  FLA_Check_error_code( e_val );
31 
32  e_val = FLA_Check_if_scalar( btoe );
33  FLA_Check_error_code( e_val );
34 
35  e_val = FLA_Check_nonconstant_object( btoe );
36  FLA_Check_error_code( e_val );
37 
38  return FLA_SUCCESS;
39 }
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Error FLA_Check_nonconstant_object(FLA_Obj A)
Definition: FLA_Check.c:954
FLA_Error FLA_Check_floating_object(FLA_Obj A)
Definition: FLA_Check.c:232
FLA_Error FLA_Check_if_scalar(FLA_Obj A)
Definition: FLA_Check.c:373