Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

rhsfun_math.c File Reference

Go to the source code of this file.

Functions

Symbolplus_rhs_function_code (list *args)
Symboltimes_rhs_function_code (list *args)
Symbolminus_rhs_function_code (list *args)
Symbolfp_divide_rhs_function_code (list *args)
Symboldiv_rhs_function_code (list *args)
Symbolmod_rhs_function_code (list *args)
Symbolsin_rhs_function_code (list *args)
Symbolcos_rhs_function_code (list *args)
Symbolsqrt_rhs_function_code (list *args)
Symbolatan2_rhs_function_code (list *args)
Symbolabs_rhs_function_code (list *args)
Symbolint_rhs_function_code (list *args)
Symbolfloat_rhs_function_code (list *args)
void init_built_in_rhs_math_functions (void)
void remove_built_in_rhs_math_functions (void)


Function Documentation

Symbol* abs_rhs_function_code list args  ) 
 

Definition at line 488 of file rhsfun_math.c.

References symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), make_int_constant(), print(), print_with_symbols(), Symbol, int_constant_struct::value, and float_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* atan2_rhs_function_code list args  ) 
 

Definition at line 438 of file rhsfun_math.c.

References cons, symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, int_constant_struct::value, and float_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* cos_rhs_function_code list args  ) 
 

Definition at line 383 of file rhsfun_math.c.

References symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), print(), print_with_symbols(), Symbol, int_constant_struct::value, and float_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* div_rhs_function_code list args  ) 
 

Definition at line 290 of file rhsfun_math.c.

References cons_struct::first, symbol_union::ic, list, make_int_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* float_rhs_function_code list args  ) 
 

Definition at line 568 of file rhsfun_math.c.

References cons_struct::first, symbol_union::ic, list, make_float_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, symbol_to_string(), and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* fp_divide_rhs_function_code list args  ) 
 

Definition at line 224 of file rhsfun_math.c.

References cons, symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, float_constant_struct::value, and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

void init_built_in_rhs_math_functions void   ) 
 

Definition at line 617 of file rhsfun_math.c.

References abs_rhs_function_code(), add_rhs_function(), atan2_rhs_function_code(), cos_rhs_function_code(), div_rhs_function_code(), float_rhs_function_code(), fp_divide_rhs_function_code(), int_rhs_function_code(), make_sym_constant(), minus_rhs_function_code(), mod_rhs_function_code(), plus_rhs_function_code(), sin_rhs_function_code(), sqrt_rhs_function_code(), and times_rhs_function_code().

Referenced by init_built_in_rhs_functions().

Symbol* int_rhs_function_code list args  ) 
 

Definition at line 517 of file rhsfun_math.c.

References symbol_union::fc, cons_struct::first, list, make_int_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, symbol_to_string(), and float_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* minus_rhs_function_code list args  ) 
 

Definition at line 154 of file rhsfun_math.c.

References cons, symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), make_int_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, float_constant_struct::value, and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* mod_rhs_function_code list args  ) 
 

Definition at line 323 of file rhsfun_math.c.

References cons_struct::first, symbol_union::ic, list, make_int_constant(), print(), print_with_symbols(), cons_struct::rest, Symbol, and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* plus_rhs_function_code list args  ) 
 

Definition at line 56 of file rhsfun_math.c.

References cons, symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), make_int_constant(), print_with_symbols(), cons_struct::rest, Symbol, float_constant_struct::value, and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

void remove_built_in_rhs_math_functions void   ) 
 

Definition at line 636 of file rhsfun_math.c.

References make_sym_constant(), and remove_rhs_function().

Referenced by remove_built_in_rhs_functions().

Symbol* sin_rhs_function_code list args  ) 
 

Definition at line 355 of file rhsfun_math.c.

References symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), print(), print_with_symbols(), Symbol, int_constant_struct::value, and float_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* sqrt_rhs_function_code list args  ) 
 

Definition at line 410 of file rhsfun_math.c.

References symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), print(), print_with_symbols(), Symbol, int_constant_struct::value, and float_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().

Symbol* times_rhs_function_code list args  ) 
 

Definition at line 104 of file rhsfun_math.c.

References cons, symbol_union::fc, cons_struct::first, symbol_union::ic, list, make_float_constant(), make_int_constant(), print_with_symbols(), cons_struct::rest, Symbol, float_constant_struct::value, and int_constant_struct::value.

Referenced by init_built_in_rhs_math_functions().


Generated on Thu Dec 11 13:00:30 2003 for Soar Kernel by doxygen 1.3.5