Feature #10356 ยป remove_unused_func_from_math.c.patch
math.c  

897  897 
} 
898 
#define exp1(n) \ 

899 
VALUE \ 

900 
rb_math_##n(VALUE x)\ 

901 
{\ 

902 
return math_##n(rb_mMath, x);\ 

903 
} 

904  
905 
#define exp2(n) \ 

906 
VALUE \ 

907 
rb_math_##n(VALUE x, VALUE y)\ 

908 
{\ 

909 
return math_##n(rb_mMath, x, y);\ 

910 
} 

911  
912 
exp2(atan2) 

913 
exp1(cos) 

914 
exp1(cosh) 

915 
exp1(exp) 

916 
exp2(hypot) 

917  
918  898 
VALUE 
919  899 
rb_math_log(int argc, const VALUE *argv) 
920  900 
{ 
921  901 
return math_log(argc, argv, rb_mMath); 
922  902 
} 
923 
exp1(sin) 

924 
exp1(sinh) 

925 
#if 0 

926 
exp1(sqrt) 

927 
#endif 

928  
929  903 
/* 
930  904 
* Documentclass: Math::DomainError 
931 
 